[MGNLDMS-226] ZipUpload of non-ZIP files results in confusing error message Created: 24/Feb/12  Updated: 15/Mar/16  Resolved: 15/Mar/16

Status: Closed
Project: Document Management System (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 1.6.x

Type: Bug Priority: Neutral
Reporter: Richard Unger Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: dms
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

reproducable on demoauthor.magnolia-cms.com


Attachments: PNG File ZipUpload_Error.png    
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

If a non-ZIP file is uploaded to DMS, the user is presented with a rather generic java-exception error message as javascript alert pop-up:

"java.io.IOException: negative seek offset"

(see attached screenshot)

This is confusing to editors (i.e. any person who would upload a non-ZIP file in the ZipUpload dialog will also not understand the current error message)

Preferred Solution:

Show an error-message of the form:

"The file you uploaded ("samplenonzipfile.pdf") could not be read as a ZIP file. Please check your file."



 Comments   
Comment by Ondrej Chytil [ 24/Feb/12 ]

Thanks for reporting this issue. I'm moving the ticket to backlog since we are finishing 4.5 these days.

Comment by Michael Mühlebach [ 15/Mar/16 ]

Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes.
Thanks for taking the time to raise this issue. As you are no doubt aware this issue has been on our backlog for some time now with very little movement.
I'm going to close this to set expectations so the issue doesn't stay open for years with few updates. If the issue is still relevant please feel free to reopen it or create a new issue.

Generated at Mon Feb 12 00:49:37 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.