← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: glance
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References