Bug #15930

[workbench2] File upload sending invalid 'files' parameter

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

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-
Release relationship:
Auto

Description

Workbench2 sends this request. API server doesn't like the 'files' parameter.

POST https://172.17.0.2:8000/arvados/v1/collections

{"owner_uuid":"x1u39-tpzed-fr97h9t4m5jffxs",
"name":"stuffer","files":[{"preview":"blob:https://172.17.0.2:3001/503e37b2-f019-437f-98b8-57e6a28f6c22"}]}

response

{"errors":[
"request failed: http://localhost:8004/arvados/v1/collections: 422 Unprocessable Entity: #\u003cActiveModel::UnknownAttributeError: unknown attribute 'files' for Collection.\u003e (req-a5as67d553g411ofq76j)"]}

History

#1 Updated by Peter Amstutz 7 months ago

  • Description updated (diff)

#2 Updated by Peter Amstutz 7 months ago

  • Description updated (diff)

#3 Updated by Peter Amstutz 7 months ago

Fix applied at c055c90f752c104305e4097a9b7b5d029615e08f

#4 Updated by Peter Amstutz 7 months ago

  • Status changed from New to Resolved

#5 Updated by Peter Amstutz 5 months ago

  • Release set to 22

Also available in: Atom PDF