Bug 717683 - XMLRPC: Unable to remove tag from plan
Summary: XMLRPC: Unable to remove tag from plan
Keywords:
Status: VERIFIED
Alias: None
Product: TCMS
Classification: Other
Component: Application
Version: 3.4.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Yuguang Wang
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-29 15:02 UTC by Petr Šplíchal
Modified: 2022-03-14 03:25 UTC (History)
5 users (show)

Fixed In Version: 3.5.0-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Petr Šplíchal 2011-06-29 15:02:27 UTC
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

Comment 1 Yuguang Wang 2011-07-01 03:05:18 UTC
Will apply the change in V3.5 and inform you to verify when online.

Thanks.

Comment 2 Guoping Feng 2011-07-15 06:14:56 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.