Project

General

Profile

Actions

Bug #16067

closed

Copy collection doesn't work

Added by Lucas Di Pentima over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Story points:
-
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)

Subtasks 1 (0 open1 closed)

Arvados - Task #16127: Review 16067-collection-copy-fixResolvedPeter Amstutz02/05/2020Actions

Related issues

Related to Arvados Epics - Idea #15333: Workbench2 feature parity with WorkbenchClosed01/01/202012/31/2021Actions
Has duplicate Arvados - Bug #16125: Can't copy collectionDuplicateActions
Blocks Arvados - Idea #16015: Release 2.0ResolvedPeter Amstutz01/28/2020Actions
Actions #1

Updated by Lucas Di Pentima over 4 years ago

  • Related to Idea #15333: Workbench2 feature parity with Workbench added
Actions #2

Updated by Peter Amstutz about 4 years ago

  • Has duplicate Bug #16125: Can't copy collection added
Actions #3

Updated by Peter Amstutz about 4 years ago

  • Release changed from 20 to 22
  • Target version changed from To Be Groomed to 2020-02-12 Sprint
Actions #4

Updated by Peter Amstutz about 4 years ago

  • Assigned To set to Lucas Di Pentima
Actions #5

Updated by Peter Amstutz about 4 years ago

Actions #6

Updated by Lucas Di Pentima about 4 years ago

  • Status changed from New to In Progress
Actions #7

Updated by Lucas Di Pentima about 4 years ago

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
Actions #8

Updated by Peter Amstutz about 4 years ago

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.

Actions #9

Updated by Lucas Di Pentima about 4 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF