Bug 1119224

Summary: [xmlrpc] Can not add cases to the runs with calling the TestRun.add_cases() method
Product: [Other] TCMS Reporter: Tingting Zhao <tzhao>
Component: XMLRPCAssignee: Yang Ren <ryang>
Status: VERIFIED --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.8.9CC: cqi, leiwang, ryang
Target Milestone: ---   
Target Release: 3.8.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tingting Zhao 2014-07-14 10:15:59 UTC
Description of problem:
Invoking the method TestRun.add_cases() ,the cases can't be added to the specific runs.

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

How reproducible:
100%

Steps to Reproduce:
1.Invoke the method like this:
n.TestRun.add_cases(390008,141243)
2.then call the n.TestRun.get_test_cases(141243) or refresh the UI page to check whether this case is added to the run.

Actual results:
The case was not added to the run and there are no any wrong messages returned.

Expected results:
the case should be added to the run if the case id and run id are both right 
Else,return 400 fault.

Additional info:

Comment 1 Xu Lei 2014-07-14 10:31:24 UTC
the doc shows an error parameters order. I will fix doc.

Comment 2 yangqiu 2014-07-29 06:14:05 UTC
verify this bug on devel server on v3.8.10--->Pass
verify steps are same as description.