Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TheLastProject opened this issue Jan 13, 2025 · 1 comment
Open

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

TheLastProject opened this issue Jan 13, 2025 · 1 comment
Labels
common: uncommon Most users are unlikely to come across this or unexpected workflow severity: major Severely degrades major functionality or product features, with no satisfactory workaround subject: import type: bug Something isn't working

Comments

@TheLastProject
Copy link
Member

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.

@TheLastProject TheLastProject added type: bug Something isn't working subject: import severity: major Severely degrades major functionality or product features, with no satisfactory workaround common: uncommon Most users are unlikely to come across this or unexpected workflow labels Jan 13, 2025
@TheLastProject TheLastProject pinned this issue Feb 5, 2025
@TheLastProject TheLastProject marked this as a duplicate of #2325 Feb 5, 2025
@TheLastProject
Copy link
Member Author

For anyone who runs into this issue: I currently don't have any affected exports I've been given an OK to share with other devs who could perhaps help with this and I don't have time to look into this currently myself.

@TheLastProject TheLastProject changed the title Support split zip files in importer (Stocard, again...) Support split zip files in importer (fixes Stocard import) Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common: uncommon Most users are unlikely to come across this or unexpected workflow severity: major Severely degrades major functionality or product features, with no satisfactory workaround subject: import type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant