Skip to content

Alter the Bulk Data Service to make the uploading of ZIPs atomic (to solve the corrupted ZIP downloads issue) #110

@simon-20

Description

@simon-20

Brief Description
It has happened twice since the Dashboard work began. One occurrence was on Oct 9th around 21:13.

The unzip program issues the following warning:

Archive:  iati-zip-bad.zip
   creating: iati-data/datasets/
  inflating: iati-data/datasets-full.json  
error: invalid zip file with overlapped components (possible zip bomb)

If you force unzip to unzip it anyway, then the XML files (which should be in subdirectories according to their reporting_org are all extracted into the root of the ZIP, and lots of them are zero length.

Severity
Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions