commit b32912f8b47f50f72a59d97387fc7f28e3e096a1
Author: Nikola Dipanov <email address hidden>
Date: Sat Aug 23 20:34:55 2014 +0200
Make Object FieldType from_primitive pass objects
In case we have a ListOfObjects field on an object with a remotable
method, due to NovaObjectsSerializer now looking into dicts recursively,
and thus also into the updates dict that object_action returns,
it is possible that objects inside a list have already been
deserialized, so we make the Fields from_primitive just pass them on,
since the job was already done by the NovaObjectsSerializer.
Reviewed: https:/ /review. openstack. org/116475 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b32912f8b47 f50f72a59d97387 fc7f28e3e096a1
Committed: https:/
Submitter: Jenkins
Branch: master
commit b32912f8b47f50f 72a59d97387fc7f 28e3e096a1
Author: Nikola Dipanov <email address hidden>
Date: Sat Aug 23 20:34:55 2014 +0200
Make Object FieldType from_primitive pass objects
In case we have a ListOfObjects field on an object with a remotable alizer now looking into dicts recursively, alizer.
method, due to NovaObjectsSeri
and thus also into the updates dict that object_action returns,
it is possible that objects inside a list have already been
deserialized, so we make the Fields from_primitive just pass them on,
since the job was already done by the NovaObjectsSeri
Change-Id: Ib2a34a115cb2d0 a2a0765c81d5dd7 ef331077eb5
Closes-bug: #1360656