No ability to invoke static MuranoPL method from python code

Bug #1596613 reported by Valerii Kovalchuk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Stan Lagun
Mitaka
Won't Fix
High
Valerii Kovalchuk
Newton
Fix Released
High
Stan Lagun

Bug Description

When I try to invoke static method (method of a class without creating the instance of a class) from executor, error is raised: AttributeError: 'MuranoClass' object has no attribute 'real_this'.
It comes from this line of code: https://github.com/openstack/murano/blob/master/murano/dsl/executor.py#L94.
Here variable 'this' is of type MuranoClass which doesn't have property 'real_this'.

Changed in murano:
importance: Undecided → High
milestone: none → newton-2
assignee: nobody → Stan Lagun (slagun)
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/334561

Changed in murano:
status: New → In Progress
Changed in murano:
assignee: Stan Lagun (slagun) → Valerii Kovalchuk (vakovalchuk)
Changed in murano:
assignee: Valerii Kovalchuk (vakovalchuk) → Stan Lagun (slagun)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

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

commit 75bded129e66a75cf6d760ce825571cc3a2dc45d
Author: Stan Lagun <email address hidden>
Date: Mon Jun 27 09:46:10 2016 -0700

    Could not invoke static methods from Python

    Static method were handled incorrectly when
    called from Python because of incorrect
    method receiver.

    Change-Id: Id7ef2bc0c74154bd3ac6ef7dcf8fa807a4be757b
    Closes-Bug: #1596613

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/murano 3.0.0.0b2

This issue was fixed in the openstack/murano 3.0.0.0b2 development milestone.

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/346007

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on murano (stable/mitaka)

Change abandoned by Kirill Zaitsev (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/346007
Reason: Looks like this change is related to Scope rename, that has appened in newton

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.