Bug #16037
closed"Download selected" functionality messes up file names
Description
When downloading all files at once from a collection we noticed that content of the files wasn't what it was supposed to be based on the file name. This is not the case when opening the file directly or from a arv-mount soit must be whatever is creating the ZIP file that is causing this issue.
e.g. we had a collection with gct files and for each of the gct files a txt/csv file. The content of these files is verified correct (e.g using the mount). When downloading all the files from workbench2 a zip file is produced where the gct files contain the content of the text files and vice versa.
Updated by Moritz Gilsdorf about 4 years ago
- Priority changed from Normal to Urgent
Updated by Peter Amstutz about 4 years ago
- Release deleted (
20) - Target version set to 2020-10-07 Sprint
Updated by Peter Amstutz about 4 years ago
- Assigned To set to Daniel Kutyła
- Subject changed from "Download selected" functionality messes up file names to "Download selected" functionality messes up file names
Updated by Daniel Kutyła about 4 years ago
New version: https://dev.arvados.org/projects/arvados-workbench-2/repository/revisions/b6a41da0a48707819163b6ebed088739e411a630
Test run: developer-tests-workbench2: #120
Added filtering for directories
Updated by Peter Amstutz about 4 years ago
- Status changed from New to In Progress
Updated by Peter Amstutz about 4 years ago
- Target version changed from 2020-10-07 Sprint to 2020-10-21 Sprint
Updated by Lucas Di Pentima about 4 years ago
- Based on what was reported on the ticket, I tried creating a new collection with text files and what I got after selecting all files and clicking on “download selected” is a zip file with the text files with names changed. That is to say: contents were there, but filenames were interchanged between them.
- Then, I tried uploading a 99KB jpeg file, this file can be correctly downloaded by right-clicking on it and selecting “Download”. But when being selected and clicking “download selected”, the produced zip contains a 177KB file of “something” that’s not a jpeg file.
Updated by Daniel Kutyła about 4 years ago
New version: https://dev.arvados.org/projects/arvados-workbench-2/repository/revisions/efded4f675bf0cabb81e91d19ccb294a4df4deba
Test run: developer-tests-workbench2: #121
Disabled download functionality for multiple files
Updated by Lucas Di Pentima about 4 years ago
- The download action in file
src/views-components/context-menu/action-sets/collection-files-item-action-set.ts
shouldn’t be commented out because it’s for single file downloads, something that is working correctly AFAICT. - The commented code on the other file could have a brief explanation of why it’s currently in that state.
- With that, it LGTM.
Updated by Daniel Kutyła about 4 years ago
New version: https://dev.arvados.org/projects/arvados-workbench-2/repository/revisions/3b9b89685aa1a452add4a18751ca0539f20a21bb
Test run: developer-tests-workbench2: #124
Disabled download functionality for multiple files
Updated by Daniel Kutyła about 4 years ago
Temporary disabled the feature as it should be done on the backend to handle all file types
Updated by Daniel Kutyła about 4 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Resolved
Applied in changeset arvados:arvados-workbench2|f4bc382beb99c86c71462c3cd7329ef1b5fda617.