"action_type" type not validated by REST API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Group Based Policy |
In Progress
|
Medium
|
Ivar Lazzaro |
Bug Description
When creating a policy action, the "action_type" field is not validated to be a string by the REST API.
This causes issues when a different type (eg. boolean) is posted in place of a string:
2015-06-06 02:11:53.550 ERROR neutron.
2015-06-06 02:11:53.550 23045 ERROR neutron.
2015-06-06 02:11:53.550 23045 ERROR neutron.
2015-06-06 02:11:53.550 23045 ERROR neutron.
2015-06-06 02:11:53.550 23045 ERROR neutron.
2015-06-06 02:11:53.550 23045 ERROR neutron.
2015-06-06 02:11:53.550 23045 ERROR neutron.
2015-06-06 02:11:53.550 23045 ERROR neutron.
2015-06-06 02:11:53.550 23045 ERROR neutron.
2015-06-06 02:11:53.550 23045 ERROR neutron.
2015-06-06 02:11:53.550 23045 ERROR neutron.
Changed in group-based-policy: | |
assignee: | nobody → Ivar Lazzaro (mmaleckk) |
Changed in group-based-policy: | |
milestone: | none → kilo-gbp-4 |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in group-based-policy: | |
milestone: | kilo-gbp-4 → next |
Fix proposed to branch: master /review. openstack. org/273307
Review: https:/