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
Download All doesn't work for specific data package #2373
Comments
Something changed in how we construct these Download All URLs in the recent 2.28.0 release, see the comparison to the previous version:
Some, like example 2, worked before (2.27) but do not work now (2.28). For example 1, the one reported on Redmine, neither URL works. It seems like we need to:
|
Is this due to the addition of the bagit-1.0.0 package service? How does metacatUI determine which nodes support which versions of the package service? |
We recently received a report of files being inaccessible in a package in DataONE (see ticket #28111: Error retrieving files); and I suspect this could be a related issue. In MetacatUI v 2.28.0 or later, the data package table shows the error "Error retrieving files for this data package", but on v 2.27.0 or earlier, the list of files appears as is. Steps to reproduce
I haven't dug into this enough to see exactly which request succeeds in the old version that now fails in the new version, but the list of requests that include package ID do differ between the two versions: Note that both include some 404s & CORS errors. |
Describe the bug
Clicking "Download All" on this data package results in a new blank tab, but the dataset is not downloaded. The individual file downloads work fine. Issue reported by a researcher in Redmine issue 27990
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The dataset zip file should be present on my disk
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Same problem was seen for other datasets from LTER, ESS-DIVE, and ADC. The third one in this list, if accessed from the ADC site, works fine for download all, and produces the correct zip file.
It is not clear to me how Download All would work on DataONE, as the download has to redirect to the member repository to get the data. For member repositories like ADC that support the package service, it would be fine to redirect to the ADC package service, but this doesn't work on all nodes. Is it possible that "Download All" should be disabled/not display for DataONE deploys?
This was verified on the newly released MetacatUI 2.28.0, but was originally reported on a prior version in Redmine.
The text was updated successfully, but these errors were encountered: