Bug #3321
closed[Workbench] Raises an exception trying to render a pipeline template where components is one hash
Description
no implicit conversion of Symbol into Integer
{
"uuid": "qr1hi-p5p6p-37mzk69fxhzjswm",
"owner_uuid": "qr1hi-j7d0g-jh1fgz9jfq2qfgq",
"created_at": "2014-07-23 18:12:00 UTC",
"modified_by_client_uuid": "qr1hi-ozdt8-obw7foaks3qjyej",
"modified_by_user_uuid": "qr1hi-tpzed-rv6f0l8lbvdzkog",
"modified_at": "2014-07-23 18:59:01 UTC",
"name": "methylKit_template",
"components": {
"ls": {
"script": "run-command",
"script_version": "847459b3c257aba65df3e0cbf6777f7148542af2",
"repository": "arvados",
"script_parameters": {
"command": [
"ls"
]
},
"runtime_constraints": {
"docker_image": "bcosc/ubuntu-r-methylkit"
}
}
},
"updated_at": null,
"description": null
}
the problematic pipeline was this without the ls sub component.
Updated by Brett Smith over 11 years ago
- Subject changed from Pipeline Templates -- Not having sub components under components is a problem to [Workbench] Raises an exception trying to render a pipeline template where components is one hash
- Category set to Workbench
Updated by Brett Smith over 11 years ago
- Status changed from New to In Progress
- Assigned To set to Brett Smith
Discussed this with Tom in IRC, and he confirmed that we do want to fix this in Workbench. We want to let the API server retain flexibility about what kind of information it accepts in templates, to provide some extensibility. When Workbench encounters trouble, it should explain that it doesn't understand the components, and offer a link to show the raw JSON.
Updated by Brett Smith over 11 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset arvados|commit:ce8d052472be0cb417596c41f2700cf92a260fd3.