Can't rename collection
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.
#9 Updated by Lucas Di Pentima almost 2 years ago
Updates at commit 070f8413 - branch
Test run: https://ci.arvados.org/view/Developer/job/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.
#10 Updated by Anonymous almost 2 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Resolved
Applied in changeset arvados-workbench-2:arvados-workbench2|ccec2628805e5eab520425aa8489b20ce80acf2b.