Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2897

Import Process: Handle Import of Empty Zip Elegantly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0, 2.0.0
    • None
    • None

    Description

      Background

      Existing implementation of ZipSource always assumes that the zip that is being passed has valid data. It starts serializing the data and that is where it encounters serialization error. This case can be handled in a more elegant way.

      Approach Guidance

      • In ZipSource ctor, detect case for empty file, throw error message accordingly.
      • Handle the case where requested ZipEntry is not found.

      Attachments

        Activity

          People

            amestry Ashutosh Mestry
            amestry Ashutosh Mestry
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: