Skip to content

Support split zip files in importer (fixes Stocard import) #2293

@TheLastProject

Description

@TheLastProject

Just got an email, it seems Stocard started to split their ZIP files into a main .zip and a .z01 file. Frustrating, that's not the first export change the last year, almost starting to think they're doing this just to spite me :D

It seems that zip4j has support for merging split files using the mergeSplitFiles function, but the documentation is a bit limited: https://github.com/srikanth-lingala/zip4j?tab=readme-ov-file#merging-split-zip-files-into-a-single-zip

It's also not sure how to allow importing this. It seems impossible to import this when tapping a .zip file, so this should probably throw an error and nudge users towards selecting all splits in their file manager.

Marking this as "bug" because it breaks the Stocard importer. Again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    common: uncommonMost users are unlikely to come across this or unexpected workflowseverity: criticalPrevents work, causes data loss and/or has no workaroundsubject: importtype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions