Bug #18587
open"Copy selected into collection" incorrect behavior
0%
Description
Let's say that a user has a couple of collections:
- "Source collection" contains 2 files:
- "File1" with size: 100KB
- "File2" with size: 50KB
- "Target collection" is initially empty
When the user goes to "Source collection", selects "File1" and clicks on "Copy selected into collection" selecting "Target collection", the following happens:
- "Source collection" now only has "File1"
- "Target collection" has both files.
Now, if the user repeats the operation: goes to "Source collection", selects the only file existing "File1" and clicks on "Copy selected into collection" with "Target collection" as the target, this happens:
- "Source collection" still has "File1"
- "Target collection" has both files, but "File1"'s size is now 200KB and it's corrupted.
This was confirmed in Workbench2 2.3.0 -- versions 2.3.1 & 2.3.2 add some additional issues that make this behave/fail differently, but once those bug are resolved, this one will still remain.
Updated by Lucas Di Pentima about 3 years ago
- Related to Bug #18584: Collection's "Make a copy" action fails added
Updated by Lucas Di Pentima almost 3 years ago
- Assigned To set to Lucas Di Pentima
Updated by Lucas Di Pentima almost 3 years ago
- Status changed from New to In Progress
Updated by Lucas Di Pentima almost 3 years ago
Updates at arvados-workbench2|feb9e11 - branch 18587-copy-selected-into-collection
Test run: developer-tests-workbench2: #559
- Re-enables 'Copy selected into the collection' feature & adds test exposing its misbehavior.
Updated by Lucas Di Pentima almost 3 years ago
- Blocked by Feature #18600: Collection update API for manipulating files added
Updated by Lucas Di Pentima almost 3 years ago
- Status changed from In Progress to New
The current code combines WebDAV file deletions and manifest manipulations that I think are beyond wrong. For this feature to work correctly, we'll need #18600 implemented first to avoid writing manifest handling javascript code.
Updated by Peter Amstutz almost 3 years ago
- Release changed from 49 to 46
- Target version deleted (
2022-01-19 sprint)
Updated by Peter Amstutz over 2 years ago
- Related to Feature #19181: Workbench 2 uses replace_files API added
Updated by Lucas Di Pentima over 2 years ago
- Assigned To deleted (
Lucas Di Pentima)