| Summary: | XMLRPC: Unable to detach bug | ||
|---|---|---|---|
| Product: | [Other] TCMS | Reporter: | Petr Šplíchal <psplicha> |
| Component: | Application | Assignee: | Yuguang Wang <yuwang> |
| Status: | CLOSED DEFERRED | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.5 | CC: | ctang, dli, junzhang, nli, ohudlick, vchen |
| Target Milestone: | --- | Keywords: | TestOnly |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-26 06:32:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Deferred to 4.0 |
Description of problem: I was trying to detach bug using TestCase.detach_bug and TestCaseRun.detach_bug() functions but had no success in either case. Version-Release number of selected component (if applicable): Nitrate 3.5.0 Steps to Reproduce: TestCase.detach_bug(46490, 15251) TestCaseRun.detach_bug(525318, 15251) Actual results: In the first case I get the following traceback: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "Nitrate.py", line 1132, in remove self._server.TestCase.detach_bug(self.id, bug.id) File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request verbose=self.__verbose File "nitrate.py", line 120, in request_with_cookies return self._parse_response(h.getfile(), sock) File "/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response return u.close() File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close raise Fault(**self._stack[0]) xmlrpclib.Fault: <Fault 1: "TypeError: remove_bug() got an unexpected keyword argument 'id'"> In the second case no error is displayed however the bug remains attached to the test case run. Expected results: Bug successfully detached.