Project

General

Profile

Actions

Bug #18584

closed

Collection's "Make a copy" action fails

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

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Story points:
-
Release relationship:
Auto

Description

We've received a report from a customer alerting us that the "Make a copy" action on collection doesn't work.

This is probably related to the changes we made on #18484, removing manifest_text storage on almost all the app sections. There're some operations that need the whole collection record, like this one.

The error RailsAPI responds when attempting this is:

//railsapi.internal/arvados/v1/collections: 422 Unprocessable Entity: Portable data hash 'e17195ab99769e6064628cd7004ea287+1316341' does not match computed hash 'd41d8cd98f00b204e9800998ecf8427e+0' (req-xb2p9p88bgui7qppcf29)

Subtasks 1 (0 open1 closed)

Arvados - Task #18588: Review 18584-collection-copy-fixResolvedPeter Amstutz12/14/2021Actions

Related issues

Related to Arvados - Bug #18484: Direct links to Collections are retrieving the full manifest_text for no reason ResolvedLucas Di Pentima12/01/2021Actions
Related to Arvados Workbench 2 - Bug #18587: "Copy selected into collection" incorrect behaviorNewActions
Actions #1

Updated by Lucas Di Pentima almost 3 years ago

  • Related to Bug #18484: Direct links to Collections are retrieving the full manifest_text for no reason added
Actions #2

Updated by Lucas Di Pentima almost 3 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Lucas Di Pentima almost 3 years ago

  • Related to Bug #18587: "Copy selected into collection" incorrect behavior added
Actions #4

Updated by Lucas Di Pentima almost 3 years ago

Updates at arvados-workbench2|401e3b5 - branch 18584-collection-copy-fix
Test run: developer-tests-workbench2: #541

  • Fixes collection's "Make a copy" action. Adds test.
  • Fixes collection's "Move to" action. Adds test.
  • Fixes manifest handling code of collection's "partial copy" actions. There're still some issues with these, but unrelated to the bugs being addressed here, so they're left for #18587.
Actions #5

Updated by Peter Amstutz almost 3 years ago

18584-collection-copy-fix @ 401e3b5a6339e8f8a1d8edacdca86b98cfaeda4e

  • "Make a copy" works
  • "Move to" works
  • "Create new collection from files" - Copying a single file out of a collection with two files, I got the error 'Collection has been copied but may contain incorrect files.'. The new collection did have the correct contents.
Actions #6

Updated by Lucas Di Pentima almost 3 years ago

Updates at arvados-workbench2|dce0888
Test run: developer-tests-workbench2: #546

  • Fixes the error when creating a new collection with selected files.
  • As requested in chat: disabled the "copy selected into collection" feature (with its test) because it can cause data corruption in some cases. This should be addressed in #18587.
Actions #7

Updated by Peter Amstutz almost 3 years ago

Lucas Di Pentima wrote:

Updates at arvados-workbench2|dce0888
Test run: developer-tests-workbench2: #546

  • Fixes the error when creating a new collection with selected files.
  • As requested in chat: disabled the "copy selected into collection" feature (with its test) because it can cause data corruption in some cases. This should be addressed in #18587.

this LGTM, thanks!

Actions #8

Updated by Lucas Di Pentima almost 3 years ago

  • Status changed from In Progress to Resolved
Actions #9

Updated by Lucas Di Pentima almost 3 years ago

Cherry-picked into 2.3-dev at arvados-workbench2|6b36863
Test run against arvados 2.3.2 commit: developer-tests-workbench2: #548

Actions

Also available in: Atom PDF