Actions
Bug #15877
closedCannot update collection with EnableBetaController14287: true
Story points:
-
Release:
Release relationship:
Auto
Description
$ arv collection update --uuid x1u39-4zz18-6yajeop0guo48h4 --collection '{"properties": {"fruit":"banana"}}' Error: json: cannot unmarshal string into Go struct field UpdateOptions.attrs of type map[string]interface {}
Setting EnableBetaController14287: false
, I am able to make the update with the same command.
Updated by Tom Clegg about 5 years ago
- Subject changed from Cannot update properties with EnableBetaController14287: true to Cannot update collection with EnableBetaController14287: true
- Status changed from New to In Progress
- Assigned To set to Tom Clegg
Same error:
arv collection update --uuid x1u39-4zz18-6yajeop0guo48h4 --collection '{}'
Updated by Tom Clegg about 5 years ago
Evidently arv
sends a request body with json-in-json, like this
Content-Type: application/json {"collection":"{\"properties\":{}}"}
15877-accept-json-in-json @ b69a0b0f7b4b9a773fb060a592057f9bd146e480
Updated by Peter Amstutz about 5 years ago
- Target version changed from 2020-01-02 Sprint to 2019-12-04 Sprint
Updated by Peter Amstutz about 5 years ago
Tom Clegg wrote:
Evidently
arv
sends a request body with json-in-json, like this[...]
15877-accept-json-in-json @ b69a0b0f7b4b9a773fb060a592057f9bd146e480
LGTM.
Updated by Tom Clegg about 5 years ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|5338c3fe0abbc6599aa290085be13eecfb0044e9.
Actions