Glance V2 incorrectly implements JSON Patch 'add'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Roman Vasilets |
Bug Description
According to the RFC for JSON Patch (http://
From the RFC. Note the third bullet:
'The "add" operation performs one of the following functions,
depending upon what the target location references:
o If the target location specifies an array index, a new value is
inserted into the array at the specified index.
o If the target location specifies an object member that does not
already exist, a new member is added to the object.
o If the target location specifies an object member that does exist,
that member's value is replaced.'
Changed in glance: | |
assignee: | nobody → Fei Long Wang (flwang) |
importance: | Undecided → Medium |
Changed in glance: | |
assignee: | nobody → Roman Vasilets (rvasilets) |
Changed in glance: | |
status: | Triaged → In Progress |
Changed in glance: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | kilo-1 → 2015.1.0 |
Seems the draft 4 is different, see http:// tools.ietf. org/html/ draft-pbryan- json-patch- 04