Bug #15877
closed
Cannot update collection with EnableBetaController14287: true
Added by Peter Amstutz about 5 years ago.
Updated about 5 years ago.
Estimated time:
(Total: 0.00 h)
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.
- Description updated (diff)
- Description updated (diff)
- 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
Evidently arv
sends a request body with json-in-json, like this
Content-Type: application/json
{"collection":"{\"properties\":{}}"}
15877-accept-json-in-json @ b69a0b0f7b4b9a773fb060a592057f9bd146e480
- Target version changed from 2020-01-02 Sprint to 2019-12-04 Sprint
- Status changed from In Progress to Resolved
Also available in: Atom
PDF