Project

General

Profile

Actions

Bug #15930

closed

[workbench2] File upload sending invalid 'files' parameter

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

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
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)"]}

Actions #1

Updated by Peter Amstutz over 4 years ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz over 4 years ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz over 4 years ago

Fix applied at c055c90f752c104305e4097a9b7b5d029615e08f

Actions #4

Updated by Peter Amstutz over 4 years ago

  • Status changed from New to Resolved
Actions #5

Updated by Peter Amstutz about 4 years ago

  • Release set to 22
Actions

Also available in: Atom PDF