You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Gaurav Aradhye (JIRA)" <ji...@apache.org> on 2014/11/04 07:42:34 UTC
[jira] [Resolved] (CLOUDSTACK-7685)
test_escalations_templates.TestTemplates.test_04_copy_template failing due
to template copy method call failed
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gaurav Aradhye resolved CLOUDSTACK-7685.
----------------------------------------
Resolution: Fixed
> test_escalations_templates.TestTemplates.test_04_copy_template failing due to template copy method call failed
> --------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-7685
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7685
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Automation
> Affects Versions: 4.5.0
> Reporter: Gaurav Aradhye
> Assignee: Gaurav Aradhye
> Labels: automation
> Fix For: 4.5.0
>
>
> Error details:
> unbound method copy() must be called with Template instance as first argument (got CloudStackAPIClient instance instead)
> Reason:
> There are bound and unbound methods "copy" in Template class with the same name. Apparently when bound and unbound methods with same name are defined, call to unbound method fails.
> Solution:
> Keep only unbound method. And if call is made like a classmethod (Class.method()), then explicitly pass the first argument as instance of class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)