← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1332103] Re: Glance v2 api can not set or delete a property of a image when the value of the property is an empty string

 

** Changed in: glance
       Status: Fix Committed => Fix Released

** Changed in: glance
    Milestone: None => juno-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1332103

Title:
  Glance v2 api can not set or delete a property of a image when the
  value of the property is an empty string

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  Glance v2 api can not set or delete a property of a image when the
  value of the property is an empty string.

  __delitem__ and __setitem__ methods of ExtraPropertiesProxy class in
  glance/api/property_protections.py may have some problems. When the
  value of a property is an empty string, the methods will raise
  KeyError.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1332103/+subscriptions


References