Bug #18584
closedCollection's "Make a copy" action fails
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)
Related issues
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
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
- Related to Bug #18587: "Copy selected into collection" incorrect behavior added
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.
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.
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.
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!
Updated by Lucas Di Pentima almost 3 years ago
- Status changed from In Progress to Resolved
Applied in changeset arvados-workbench2|97622f7e87cccdd98dfc748913ed8791c862bd4a.
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