CFServiceInstance.to_dict calls wrong class

Bug #1628290 reported by Samantha Blanco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Low
Samantha Blanco
Newton
Fix Committed
Low
Valerii Kovalchuk
Ocata
Fix Released
Low
Samantha Blanco

Bug Description

class CFServiceInstance(Base):
    ...
    def to_dict(self):
        dictionary = super(CFSpace, self).to_dict()

When testing, throws the following error:
TypeError: super(type, obj): obj must be an instance or subtype of type

Changed in murano:
assignee: nobody → Samantha Blanco (sblanco1)
Changed in murano:
importance: Undecided → Low
status: New → Confirmed
tags: added: low-hanging-fruit
Changed in murano:
milestone: none → ocata-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

Fix proposed to branch: master
Review: https://review.openstack.org/379788

Changed in murano:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/379788
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=a9eea57ca6efec380fd2554daac6fd6cb7f55e22
Submitter: Jenkins
Branch: master

commit a9eea57ca6efec380fd2554daac6fd6cb7f55e22
Author: Samantha Blanco <email address hidden>
Date: Thu Sep 29 15:46:35 2016 -0400

    Fixes CFServiceInstance.to_dict calls wrong class

    CFServiceInstance uses wrong class to call superclass

    Change-Id: I95ff892c7d5b815b7e4acff6c5644d2442879ec8
    Closes-Bug: #1628290

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/385842

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/386120

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (stable/newton)

Reviewed: https://review.openstack.org/385842
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=d9be013e55840751105254ec2c707f437229f261
Submitter: Jenkins
Branch: stable/newton

commit d9be013e55840751105254ec2c707f437229f261
Author: Samantha Blanco <email address hidden>
Date: Thu Sep 29 15:46:35 2016 -0400

    Fixes CFServiceInstance.to_dict calls wrong class

    CFServiceInstance uses wrong class to call superclass

    Change-Id: I95ff892c7d5b815b7e4acff6c5644d2442879ec8
    Closes-Bug: #1628290
    (cherry picked from commit a9eea57ca6efec380fd2554daac6fd6cb7f55e22)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (stable/mitaka)

Reviewed: https://review.openstack.org/386120
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=e00efee97310b8b6036166a079a47745e2368dd9
Submitter: Jenkins
Branch: stable/mitaka

commit e00efee97310b8b6036166a079a47745e2368dd9
Author: Samantha Blanco <email address hidden>
Date: Thu Sep 29 15:46:35 2016 -0400

    Fixes CFServiceInstance.to_dict calls wrong class

    CFServiceInstance uses wrong class to call superclass

    Change-Id: I95ff892c7d5b815b7e4acff6c5644d2442879ec8
    Closes-Bug: #1628290

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano 3.1.0

This issue was fixed in the openstack/murano 3.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.