Comment 4 for bug 1360656

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/116475
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=b32912f8b47f50f72a59d97387fc7f28e3e096a1
Submitter: Jenkins
Branch: master

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.

    Change-Id: Ib2a34a115cb2d0a2a0765c81d5dd7ef331077eb5
    Closes-bug: #1360656