-
Notifications
You must be signed in to change notification settings - Fork 501
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
File Download: Multiple file download size limit restricts zip download to 10MB. Needs to be configurable again, have sensible default. #2686
Comments
https://help.hmdc.harvard.edu/Ticket/Display.html?id=229652 is an example of where this bug has been noted. In addition, I'm working with @pameyer on stuff for @sbgrid and I noticed a MANIFEST.TXT file in dataverse_files.zip with contents that start with lines like this: .adxv_beam_center (application/octet-stream) 19 bytes. This is to say that dataverse_files.zip didn't have all the files in it, despite my attempt to download all files as zip. The value of "10485760 bytes" seems to come from src/main/java/edu/harvard/iq/dataverse/dataaccess/DataFileZipper.java because when I change (on my laptop) Basically, I'm simply confirming what @kcondon has already reported. From what I can tell the 10 MB (10485760 bytes) restriction is indeed hard coded when downloading files as zip. I agree that this should definitely be configurable. And maybe it should be set to unlimited by default. When downloading multiple files as zip I can imagine that "all files" would be a popular desire. |
@landreev as discussed at this morning's standup I'm changing the assignee of this issue to you and making the milestone 4.3 for now. If you could fix the "ZipDonwloadLimit" typo while you're in there I'd appreciate it. |
The fix is checked in, in the 2686-2907-bugfixpatch-424 branch. |
The branch: 2686-2907-bugfixpatch-424 |
Note: the default is 10MB but it can be changed by the switch mentioned. This should be documented. |
OK, the default is now 100MB (like what we had in DVN 3.?) Yes, if you have the limit set to N, and none of the files the user selected are smaller than N, that means the resulting zip will have no files, and the Manifest explaining why the files were skipped. |
Works as described. Closing. |
I'm a little surprised this got past our new Request for Integration (RFI) process but I suppose it hasn't been finalized. Anyway, I added it to a list I just started at #2944. |
Multiple file download size limit restricts zip download to 10MB. Needs to be configurable again, have sensible default.
The text was updated successfully, but these errors were encountered: