Comment 7 for bug 1250158

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/117295
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=2b8c7c9595345582d78a773c5e1241b9e3b7ee8d
Submitter: Jenkins
Branch: master

commit 2b8c7c9595345582d78a773c5e1241b9e3b7ee8d
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
    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.

    Change-Id: Ia4be8b384f8b7f193f139f2206ceea25786b5cc3
    Closes-bug: 1250158
    DocImpact
    Partial-bug: #1277104