Bug 1128540 - [XML-RPC] The author of the test plan is inconsistent with the Web after invoking the testplan.store_text()
Summary: [XML-RPC] The author of the test plan is inconsistent with the Web after invo...
Status: NEW
Alias: None
Product: TCMS
Classification: Other
Component: XMLRPC
Version: 3.8.10
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Yang Ren
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2014-08-11 04:54 UTC by Tingting Zhao
Modified: 2018-07-04 21:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Tingting Zhao 2014-08-11 04:54:47 UTC
Description of problem:
as summary

Version-Release number of selected component (if applicable):
v3.8.10-1 on devel server

How reproducible:

Steps to Reproduce:
1.Invoke the method like below:
In [31]: n.TestPlan.store_text(10149,'test text1',4239)
2.then invoke as:
In [32]: n.TestPlan.get(10149)
Check the result.

Actual results:
{'author': 'qiyang',-----------------------Author is 'qiyang'
 'author_id': 4239,
 'checksum': '2c93b0936b3c381207db7c660d20af17',
 'create_date': '2014-08-11 11:55:35',
 'id': 20937,
 'plan': 'plan for adding cases by other plans',
 'plan_id': 10149,
 'plan_text': 'test text1',
 'plan_text_version': 4}

{'attachment': [],
 'author': 'tzhao',------------------------Author is 'tzhao'
 'author_id': 4258,
 'case': [293340, 293345, 293360, 293361],
 'component': [],
 'create_date': '2014-08-06 15:51:42',
 'env_group': [],
 'extra_link': '',
 'is_active': True,
 'name': 'plan for adding cases by other plans',
 'owner': None,
 'owner_id': None,
 'parent': ' plan tcms 3',
 'parent_id': 10144,
 'plan_id': 10149,
 'product': 'tzhao test product',
 'product_id': 344,
 'product_version': 'tzhao version 3',
 'product_version_id': 1480,
 'tag': [],
 'type': 'Acceptance',
 'type_id': 5}

Expected results:
step1:the author field should change to be last editor not author

Additional info:

Comment 1 Xu Lei 2014-08-11 06:18:26 UTC
Clear, "Auther" and "Last Editor" in xmlrpc response ,which is better to understand ?

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