Project

General

Profile

Actions

Bug #16116

closed

Can't rename collection

Added by Peter Amstutz about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Target version:
Story points:
-

Description

Create a collection.

Open the "Edit collection" dialog.

Change the name and hit save.

Gets an error:

request failed: http://localhost:8004/arvados/v1/collections/ce8i5-4zz18-sb9yyc73x4bgesv: 422 Unprocessable Entity: #<ActiveModel::UnknownAttributeError: unknown attribute 'menu_kind' for Collection.> (req-xa053an8rm8h1tzbmf4f)

After taking a quick look: "menuKind" is a field of ContextMenuResource, so probably what is happening is that when you hit "save" it just sends entire object without regard for whether the fields exist on the resource being edited.

Which means this particular bug probably affects every place "ContextMenu" is used.


Subtasks 1 (0 open1 closed)

Task #16117: Review 16116-collection-rename-fixResolvedPeter Amstutz02/05/2020Actions

Related issues

Related to Arvados - Bug #16125: Can't copy collectionDuplicateActions
Blocks Arvados - Idea #16015: Release 2.0ResolvedPeter Amstutz01/28/2020Actions
Actions

Also available in: Atom PDF