Commit a7aafe9c authored by Antoine Catton's avatar Antoine Catton

Minor: bug fix on SoftwareInstance_bangSoftwareInstanceTree

parent 66990a19
......@@ -51,9 +51,9 @@
<item>
<key> <string>_body</string> </key>
<value> <string>software_instance = state_change[\'object\']\n
portal = context.getPortalObject()\n
portal = software_instance.getPortalObject()\n
\n
root_hosting_subscription = portal.portal_catalog.getResultValue(uid=context.SoftwareInstance_getRootHostingSubscriptionUid)\n
root_hosting_subscription = portal.portal_catalog.getResultValue(uid=software_instance.SoftwareInstance_getRootHostingSubscriptionUid())\n
root_software_instance = root_hosting_subscription.HostingSubscription_requestRootSoftwareInstance()\n
\n
# Use iterative algorithm instead of recursive approach in order to avoid\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment