Project

General

Profile

Actions

Bug #18587

open

"Copy selected into collection" incorrect behavior

Added by Lucas Di Pentima almost 3 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Workbench2
Target version:
Story points:
-
Release:
Release relationship:
Auto

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 VandewegeActions

Related issues

Related to Arvados Workbench 2 - Bug #18584: Collection's "Make a copy" action failsResolvedLucas Di Pentima12/14/2021Actions
Related to Arvados - Feature #19181: [tracking] Workbench 2 file operationsNewActions
Blocked by Arvados - Feature #18600: Collection update API for manipulating filesResolvedTom Clegg02/11/2022Actions
Actions

Also available in: Atom PDF