| Summary: | XMLRPC: Unable to remove tag from plan | ||
|---|---|---|---|
| Product: | [Other] TCMS | Reporter: | Petr Šplíchal <psplicha> |
| Component: | Application | Assignee: | Yuguang Wang <yuwang> |
| Status: | VERIFIED --- | QA Contact: | Nobody <nobody> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.4.1 | CC: | GFENG, junzhang, ohudlick, ryang, vchen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 3.5.0-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Will apply the change in V3.5 and inform you to verify when online. Thanks. Verify 3.5.0-1 on stage -->PASS Verify steps: 1.Enter into a plan which has at least one tag. 2.Enter xml-rpc. 3.TestPlan.remove_tag(XXXX, "XXX(Tag)"). 4.Reload the same plan page and check the tag. Actual resutl: The tag you typed in step3 is deleted. |
Description of problem: While I'm able to add a tag to a test plan I am not able to remove the same tag from the same test plan and get a "Permission denied" error instead: TestPlan.add_tag(289, "Tag") OK TestPlan.remove_tag(289, "Tag") 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: 'PermissionDenied: Permission denied.'> Version-Release number of selected component (if applicable): Nitrate 3.4.1