validate_dict functions don't convert booleans
Bug #1207881 reported by
Salvatore Orlando
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Salvatore Orlando |
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.
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/40004
Review: https:/