The implementation was using wrong approach to detect field type, and it
never triggered the actual code. Adopting the base class implementation
for QoS policy object revealed the problem.
Now, we fix the base class to_dict implementation for synthetic fields,
and are able to adopt it for the policy object.
Note that the bug in the base class was never exposed in production
because no objects are currently relying on it.
Reviewed: https:/ /review. openstack. org/294018 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=d503c830fbd 5da040a32fa15fd b843b068ccb365
Committed: https:/
Submitter: Jenkins
Branch: master
commit d503c830fbd5da0 40a32fa15fdb843 b068ccb365
Author: Ihar Hrachyshka <email address hidden>
Date: Thu Mar 17 15:01:03 2016 +0100
objects: fixed base to_dict implementation
The implementation was using wrong approach to detect field type, and it
never triggered the actual code. Adopting the base class implementation
for QoS policy object revealed the problem.
Now, we fix the base class to_dict implementation for synthetic fields,
and are able to adopt it for the policy object.
Note that the bug in the base class was never exposed in production
because no objects are currently relying on it.
Change-Id: I3b8727fd3837b5 1cc1a778dc73d8a 1e06f2de5a9
Partial-Bug: #1541928