Project

General

Profile

Actions

Bug #16116

closed

Can't rename collection

Added by Peter Amstutz almost 5 years ago. Updated 7 months ago.

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

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 #1

Updated by Peter Amstutz almost 5 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz almost 5 years ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz almost 5 years ago

  • Assigned To deleted (Peter Amstutz)
Actions #4

Updated by Peter Amstutz almost 5 years ago

  • Description updated (diff)
Actions #5

Updated by Peter Amstutz almost 5 years ago

  • Description updated (diff)
Actions #6

Updated by Lucas Di Pentima almost 5 years ago

  • Assigned To set to Lucas Di Pentima
Actions #7

Updated by Peter Amstutz almost 5 years ago

  • Related to Bug #16125: Can't copy collection added
Actions #8

Updated by Peter Amstutz almost 5 years ago

Actions #9

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.

Actions #10

Updated by Anonymous almost 5 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Resolved
Actions #11

Updated by Peter Amstutz 7 months ago

  • Release set to 22
Actions

Also available in: Atom PDF