Bug 1145920 - [RFE][xmlrpc] When invoke TestCaseRun.create, user can input any build_id which exists in build define table to create caserun.
Summary: [RFE][xmlrpc] When invoke TestCaseRun.create, user can input any build_id whi...
Keywords:
Status: NEW
Alias: None
Product: TCMS
Classification: Other
Component: XMLRPC
Version: 3.8.11
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Yang Ren
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-24 06:36 UTC by yangqiu
Modified: 2023-10-20 16:24 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
[RFE][xmlrpc] When invoke TestCaseRun.create, user can input any build_id which exists in build define table to create caserun. (64.68 KB, image/png)
2014-09-24 06:36 UTC, yangqiu
no flags Details

Description yangqiu 2014-09-24 06:36:43 UTC
Created attachment 940682 [details]
[RFE][xmlrpc] When invoke TestCaseRun.create, user can input any build_id which exists in build define table to create caserun.

Description of problem:
as summary.

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

How reproducible:
100%

Steps to Reproduce:
1.User input a build_id (which exists in build define table, but it is neither the build of run's plan nor the build of case's plan) to create caserun via invoking TestCaseRun.create method.
2.when click 'add case to run' to create caserun from web gui, system will save current run's build_id to test_case_runs table.

Actual results:
system can create the caserun, that is, the caserun's build could be any build_id. 
while the service document for build_id is 'ID of a Build in plan's product'.

Expected results:
1.the service document for build_id is 'ID of a Build in run's product'
2.when invoke TestCaseRun.create to create caserun, system should check whether the input build_id equal to the current run's build_id or not, in order to keep the logic same as web gui. 

Additional info:


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