[ 
http://jira.magnolia-cms.com/browse/MGNLDMS-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ondřej Chytil updated MGNLDMS-226:
----------------------------------

         Assignee:     (was: Philipp Bärfuss)
    Fix Version/s: 1.6.x
      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."





  was:

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."






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

> ZipUpload of non-ZIP files results in confusing error message
> -------------------------------------------------------------
>
>                 Key: MGNLDMS-226
>                 URL: http://jira.magnolia-cms.com/browse/MGNLDMS-226
>             Project: Magnolia DMS Module
>          Issue Type: Bug
>         Environment: reproducable on demoauthor.magnolia-cms.com
>            Reporter: Richard Unger
>             Fix For: 1.6.x
>
>         Attachments: ZipUpload_Error.png
>
>
> 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."

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to