Comment 2 for bug 1306731

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to solum (master)

Reviewed: https://review.openstack.org/86974
Committed: https://git.openstack.org/cgit/stackforge/solum/commit/?id=e2368f5fdbf98420eb820ae09bbcc91fc6a045ab
Submitter: Jenkins
Branch: master

commit e2368f5fdbf98420eb820ae09bbcc91fc6a045ab
Author: Pierre Padrixe <email address hidden>
Date: Mon Apr 14 10:49:32 2014 +0200

    Allow as_dict with no assembly_id FK set in Component

    Component.assembly_uuid used to raise an exception when no assembly_id
    was set. It was an acceptable behavior but when you were calling as_dict
    you were getting a ResourneNotFound and couldn't retrieve your dict.
    The purpose of this patch is to allow the use of as_dict with no assembly
    set as FK.

    Change-Id: I3518e0dfb3f85631260474ba465146314e48a12c
    Closes-Bug: #1306731