MantisBT - TestLink
View Issue Details
0008437TestLinkAPI - XMLRPCpublic2018-10-28 15:362018-11-03 16:29
kanaduchi 
fman 
normalminoralways
resolvedfixed 
1.9.18 (2018 Q3) 
1.9.19 (2019 Q1) 
MySQL
TBD
0008437: Not actual params used for methods in xmlrpc.class.php - getTestCaseKeywords()
xmlrpc.class.php:
6999 $itemSet [$accessKey] = $this->tcaseMgr->get_keywords_map ( intval ( $tcaseID ) );

but in testcase.class.php
3145 function get_keywords_map($id,$version_id,$opt=null) {

And after invocation we get an error:
Missing argument 2 for testcase::get_keywords_map(), called in /usr/share/testlink/lib/api/xmlrpc/v1/xmlrpc.class.php on line 6999 and defined - in /usr/share/testlink/lib/functions/testcase.class.php - Line 3145
Invoke getTestCaseKeywords from xmlrpc for testcase
No tags attached.
related to 0008451assigned fman getTestCaseKeywords() - call has not enough parameters 
child of 0008397closed fman Availables hot-fixes for 1.9.18 & How To get full fixed package from GitHub 
Issue History
2018-10-28 15:36kanaduchiNew Issue
2018-10-29 20:12fmanQA Team - Task Workflow Status => TBD
2018-10-29 20:12fmanSummaryNot actual params used for methods in xmlrpc.class.php => Not actual params used for methods in xmlrpc.class.php - getTestCaseKeywords()
2018-10-30 05:16kanaduchiNote Added: 0028136
2018-10-30 08:01fmanNote Added: 0028138
2018-11-03 16:26fmanFixed in Version => 1.9.19 (2019 Q1)
2018-11-03 16:27fmanNote Added: 0028167
2018-11-03 16:27fmanStatusnew => resolved
2018-11-03 16:27fmanResolutionopen => fixed
2018-11-03 16:27fmanAssigned To => fman
2018-11-03 16:27fmanRelationship addedchild of 0008397
2018-11-03 16:29fmanIssue cloned: 0008451
2018-11-03 16:29fmanRelationship addedrelated to 0008451

Notes
(0028136)
kanaduchi   
2018-10-30 05:16   
Also I found invocation of this method without correct arguments in tlRestApi.class.php [299]
(0028138)
fman   
2018-10-30 08:01   
do not vampirize tickets => you need to open a new ticket for the REST API.
I try to have 1 commit of 1 ticket.
(0028167)
fman   
2018-11-03 16:27   
https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/6c50db1c669410aeffa1228bb85945b817e549f6 [^]