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: