Project

General

Profile

Actions

Bug #18587

open

"Copy selected into collection" incorrect behavior

Added by Lucas Di Pentima 8 months ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Workbench2
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
(Total: 0.00 h)
Story points:
-

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.


Subtasks 1 (1 open0 closed)

Arvados - Task #18609: ReviewNewWard Vandewege

Actions

Related issues

Related to Arvados Workbench 2 - Bug #18584: Collection's "Make a copy" action failsResolvedLucas Di Pentima12/14/2021

Actions
Related to Arvados - Story #19181: Workbench 2 uses replace_files APINew

Actions
Blocked by Arvados - Feature #18600: Collection update API for manipulating filesResolvedTom Clegg02/11/2022

Actions
Actions #1

Updated by Lucas Di Pentima 8 months ago

  • Related to Bug #18584: Collection's "Make a copy" action fails added
Actions #2

Updated by Lucas Di Pentima 7 months ago

  • Assigned To set to Lucas Di Pentima
Actions #3

Updated by Lucas Di Pentima 7 months ago

  • Status changed from New to In Progress
Actions #4

Updated by Lucas Di Pentima 7 months 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.
Actions #5

Updated by Lucas Di Pentima 7 months ago

  • Blocked by Feature #18600: Collection update API for manipulating files added
Actions #6

Updated by Lucas Di Pentima 7 months 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.

Actions #7

Updated by Peter Amstutz 7 months ago

  • Release changed from 49 to 46
  • Target version deleted (2022-01-19 sprint)
Actions #8

Updated by Peter Amstutz 7 months ago

  • Release deleted (46)
Actions #9

Updated by Peter Amstutz 2 months ago

  • Related to Story #19181: Workbench 2 uses replace_files API added
Actions #10

Updated by Lucas Di Pentima about 1 month ago

  • Assigned To deleted (Lucas Di Pentima)
Actions

Also available in: Atom PDF