Mantis Bugtracker 

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008877TestLinkAPI - XMLRPCpublic2020-03-02 17:212020-03-04 18:15
Assigned To 
PlatformOSOS Version
Product Version1.9.19 (2019 Q1) 
Fixed in Version 
Summary0008877: summary not present in test cases
DescriptionI 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 ?
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL 5.7
PHP Version7.2
QA Team - Task Workflow Status
Attached Files

- Relationships
related to 0005165closedfman Issues with DISTINCT CLAUSE on TEXT field 

-  Notes
marv (reporter)
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.
fman (administrator)
2020-03-04 18:15

Going to check

- Issue History
Date Modified Username Field Change
2020-03-02 17:21 marv New Issue
2020-03-03 09:51 marv Note Added: 0029519
2020-03-04 18:15 fman Note Added: 0029520
2020-03-04 18:15 fman Relationship added related to 0005165

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker