| Summary: | XMLRPC: TestCase.update() should allow specifying default_tester by uid | ||
|---|---|---|---|
| Product: | [Other] TCMS | Reporter: | Petr Šplíchal <psplicha> |
| Component: | Application | Assignee: | jianchen <jianchen> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.4.1 | CC: | aigao, jihu, junzhang, nli, ohudlick, ryang, tools-bugs, vchen |
| Target Milestone: | --- | ||
| Target Release: | 3.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 3.8.0-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-26 13:21:01 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This bug fix in tcms 3.8.0. Extend the update(0 function to accept user id. Verify 3.8.0-1 on stage -->PASS
Verify steps:
1.handle.server.TestCase.update(175584, {'default_tester': 2117 })
Actual result:
return user id name as default tester,and the UI display the user mail.
|
Description of problem: Currently, updating a default tester of a test case requires to specify user name or email. Please extend the update() function to accept user id as well. Thanks. Version-Release number of selected component (if applicable): Nitrate 3.4.1 Steps to Reproduce: TestCase.update(6125, {'default_tester': 2117 }) Actual results: Traceback (most recent call last): File "<stdin>", line 1, in <module> 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: "AttributeError: 'int' object has no attribute 'strip'">