Bug 1129918

Summary: [XMLRPC] TestRun.product_version is not serialized correctly to get product version value
Product: [Other] TCMS Reporter: cqi
Component: XMLRPCAssignee: cqi
Status: VERIFIED --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.8.9CC: cqi, ryang
Target Milestone: ---Keywords: Regression
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 cqi 2014-08-14 01:02:04 UTC
Description of problem:
TestRun.product_version is not serialized to an actual product version value, it's the id instead. This does not happen to TestRun.get method.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. nitrate_rpc.TestPlan.get_test_runs(11696) , check the product_version in result

Actual results:
product_version equals to 1518, not a version value.

Expected results:
should be the version value

Additional info:

Comment 1 Marian Ganisin 2014-08-14 08:29:47 UTC
Excellent description! Thank you.

Comment 2 cqi 2014-08-15 11:15:45 UTC
Fixed.

In the response of nitrate_rpc.TestPlan.get_test_runs(11696), product_version equals to version's value. Version's ID is refed by product_version_id.