Bug #16116
closedCan't rename collection
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.
Related issues
Updated by Peter Amstutz almost 5 years ago
- Status changed from New to In Progress
Updated by Lucas Di Pentima almost 5 years ago
- Assigned To set to Lucas Di Pentima
Updated by Peter Amstutz almost 5 years ago
- Related to Bug #16125: Can't copy collection added
Updated by Peter Amstutz almost 5 years ago
- Blocks Idea #16015: Release 2.0 added
Updated by Lucas Di Pentima almost 5 years ago
Updates at commit 070f8413 - branch 16116-collection-rename-fix
Test run: developer-tests-workbench2: #10
Unifies how project and collection edit dialogs are handled with how it's being done on the process edit dialog: passing explicitly all the fields to the PUT call to avoid passing illegal data.
Updated by Anonymous almost 5 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Resolved
Applied in changeset arvados-workbench-2:arvados-workbench2|ccec2628805e5eab520425aa8489b20ce80acf2b.