Uploaded image for project: 'Document Management System (closed)'
  1. Document Management System (closed)
  2. MGNLDMS-226

ZipUpload of non-ZIP files results in confusing error message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • 1.6.x
    • None
    • reproducable on demoauthor.magnolia-cms.com

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

        Acceptance criteria

              Unassigned Unassigned
              runger Richard Unger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: