Project

General

Profile

Actions

Bug #18587

open

"Copy selected into collection" incorrect behavior

Added by Lucas Di Pentima almost 3 years ago. Updated 8 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 #1

Updated by Lucas Di Pentima almost 3 years ago

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

Updated by Lucas Di Pentima almost 3 years ago

  • Assigned To set to Lucas Di Pentima
Actions #3

Updated by Lucas Di Pentima almost 3 years ago

  • Status changed from New to In Progress
Actions #4

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.
Actions #5

Updated by Lucas Di Pentima almost 3 years ago

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

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.

Actions #7

Updated by Peter Amstutz almost 3 years ago

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

Updated by Peter Amstutz almost 3 years ago

  • Release deleted (46)
Actions #9

Updated by Peter Amstutz over 2 years ago

  • Related to Feature #19181: [tracking] Workbench 2 file operations added
Actions #10

Updated by Lucas Di Pentima over 2 years ago

  • Assigned To deleted (Lucas Di Pentima)
Actions #11

Updated by Peter Amstutz over 1 year ago

  • Release set to 60
Actions #12

Updated by Peter Amstutz 8 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF