Uploaded image for project: 'Project Configurator - Development'
  1. Project Configurator - Development
  2. PCDEV-819

Display an improved error message when a zip file cannot be parsed

    Details

    • Type: Change
    • Status: Done (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0-J7
    • Labels:
      None
    • Critical Points:
      0

      Description

      PC will now show an error message indicating that there was a problem decompressing the file, instead of showing the trace below. If the Zip file is large, it will also recommend re-exporting from the source with the Attachment migration mode set to "Manual".

      This change also includes a check to verify that the zip file is valid when a Complete export is done.

      Original description

      When a zip file cannot be displayed due to it being a large file which contains corrupted file headers (typically for attachment files) then the error below is displayed.

      net.lingala.zip4j.exception.ZipException: net.lingala.zip4j.exception.ZipException: net.lingala.zip4j.exception.ZipException: invalid local header signature for file: xxxxxxx
      

      It would be good to update this error message to advise users that they can work around it by manually migrating attachments and to link to the documentation page which explains how to do this.

        Attachments

          Structure

            Activity

              People

              Assignee:
              jrojo Jose Rojo [X] (Inactive)
              Reporter:
              kwalker Kristian Walker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel