MantisBT - TestLink
View Issue Details
0008877TestLinkAPI - XMLRPCpublic2020-03-02 17:212020-03-04 18:15
marv 
 
highmajoralways
newopen 
1.9.19 (2019 Q1) 
 
MySQL 5.7
7.2
0008877: summary not present in test cases
I am using a Python XMLRPC client to get test cases.
I just updated the testlink server from 1.9.14 to 1.9.19 and I find a difference between the result of the function getTestCasesForTestPlan in those 2 versions: in the version 1.9.19 I have no "summary" field.
I don't see a specific keyword to use in getTestCasesForTestPlan function.. is there something I am missing ?
No tags attached.
related to 0005165closed fman Issues with DISTINCT CLAUSE on TEXT field 
Issue History
2020-03-02 17:21marvNew Issue
2020-03-03 09:51marvNote Added: 0029519
2020-03-04 18:15fmanNote Added: 0029520
2020-03-04 18:15fmanRelationship addedrelated to 0005165

Notes
(0029519)
marv   
2020-03-03 09:51   
Well, I finally found out that the testlink 1.9.14 I was running had been modified to send the summary.
This brings me to another question: in xmlrpc.class.php, in the function getTestCasesForTestPlan, the @param "details" says that by default it is set to 'full' which sends "summary,steps,expected_results,test suite name", but the summary is not sent. I guess it is either an incorrect documentation or a code error. It seems to be linked to the ticket 5165.
Anyway, just add TCV.summary in the SQL request of $commonFields in the function getLinkedTCVersionsSQL of testplan.class.php line 7044 to have the summary sent.
(0029520)
fman   
2020-03-04 18:15   
Going to check