← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1207881] Re: validate_dict functions don't convert booleans

 

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

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

Title:
  validate_dict functions don't convert booleans

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  validate_dict functions are used for validating composite attribute.
  For each item, they perform validation using one of the standard validators provided in attributes.py

  When it comes to boolean, however they do not convert literals such as 'false' and 'true'.
  Hence they are passed to the plugin as string, causing an error when the data are persisted, as the database would be expecting a boolean.

  this is currently affecting at least the ext-gw-mode API extension.

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