Bug #16067
closed
Copy collection doesn't work
Added by Lucas Di Pentima almost 5 years ago.
Updated almost 5 years ago.
Estimated time:
(Total: 0.00 h)
Release relationship:
Auto
Description
Copying a collection on workbench 2 is producing the following error on arbvox:
request failed: http://localhost:8004/arvados/v1/collections: 422 Unprocessable Entity: #<ActiveModel::UnknownAttributeError: unknown attribute 'etag' for Collection.> (req-1ekthehdwqdgw1qo08e2)
- Related to Story #15333: Workbench2 feature parity with Workbench added
- Has duplicate Bug #16125: Can't copy collection added
- Target version changed from To Be Groomed to 2020-02-12 Sprint
- Release changed from 20 to 22
- Assigned To set to Lucas Di Pentima
- Status changed from New to In Progress
Updates at commit: 6d1f423a - branch 16067-collection-copy-fix
Test run: developer-tests-workbench2: #11
- Lays the groundwork to avoid sending read-only fields to the API server on every resource type
- Fixes the bug by:
- Adding
uuid
, kind
and etag
as common resource read-only fields
- Adding
unsigned_manifest
, storage_classes_confirmed
and storage_classes_confirmed_at
as collection resource read-only fields.
- Adds tests on #create and #update
Lucas Di Pentima wrote:
Updates at commit: 6d1f423a - branch 16067-collection-copy-fix
Test run: developer-tests-workbench2: #11
- Lays the groundwork to avoid sending read-only fields to the API server on every resource type
- Fixes the bug by:
- Adding
uuid
, kind
and etag
as common resource read-only fields
- Adding
unsigned_manifest
, storage_classes_confirmed
and storage_classes_confirmed_at
as collection resource read-only fields.
- Adds tests on #create and #update
This LGTM.
- Status changed from In Progress to Resolved
Also available in: Atom
PDF