Hi,
I noticed reportTCResult() update status to version 1, not the actual version assigned to test plan.
Does anyone notice this problem?
Here is the scenario:
A test cases named "Open System" with version 2 [tc_id is 449] is assigned to test_project:"Open Project", test_plan:"Open Environment".
With the data = {'devKey':'My-TL-Key', 'testplanid':301, 'status':'p', 'testcaseid':449, 'buildid':47} sent to TL xmlrpc.php, the result's message is 'Success', status is True.
However, when I check the result with GUI (using Test result matrix), I notice the result being updated is version 1, not version 2.
Can anyone using this feature comment on this?
Thanks,
akang
tl_1.8.5b reportTCResult() update wrong version
Moderators: Amaradana, TurboPT, TL Developers
Re: tl_1.8.5b reportTCResult() update wrong version
This is an issue on a not supported anymore version => upgrade to 1.9.1
Re: tl_1.8.5b reportTCResult() update wrong version
[1] Testlink is in production; not going to move to 1.9.1 anytime soon.
[2] I check the 1.9.1 function reportTCResult(), do not see it call checkTestCaseVersionNumber().
Is it the function reportTCResult() should call to retrieve the correct tcversion_number?
Thanks,
akang
[2] I check the 1.9.1 function reportTCResult(), do not see it call checkTestCaseVersionNumber().
Is it the function reportTCResult() should call to retrieve the correct tcversion_number?
Thanks,
akang
Re: tl_1.8.5b reportTCResult() update wrong version
tc's version should be retrieved from function _checkTCIDAndTPIDValid() and passed to _insertResultToDB().
However, 1.8.5b does not support overwrite function. insertResultToDB() is the only method.
However, 1.8.5b does not support overwrite function. insertResultToDB() is the only method.