According to the RFC for JSON Patch http://tools.ietf.org/html/rfc6902#section-4.1
the 'add' operation, in the event that the property being
added already exists, should replace the existing value. For backward
compatibility We've fix it only for the latest content type.
Reviewed: https:/ /review. openstack. org/117295 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=2b8c7c95953 45582d78a773c5e 1241b9e3b7ee8d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2b8c7c959534558 2d78a773c5e1241 b9e3b7ee8d
Author: Roman Vasilets <email address hidden>
Date: Wed Aug 27 18:40:41 2014 +0300
Fix glance V2 incorrectly implements JSON Patch'add'
According to the RFC for JSON Patch tools.ietf. org/html/ rfc6902# section- 4.1
http://
the 'add' operation, in the event that the property being
added already exists, should replace the existing value. For backward
compatibility We've fix it only for the latest content type.
Change-Id: Ia4be8b384f8b7f 193f139f2206cee a25786b5cc3
Closes-bug: 1250158
DocImpact
Partial-bug: #1277104