MantisBT - TestLink
View Issue Details
0005087TestLinkAPI - XMLRPCpublic2012-07-10 23:482012-09-01 19:59
fast.chip 
fman 
normalminoralways
closedfixed 
1.9.3 (2011 Q3 - bug fixing) 
1.9.4 (2012 Q3 - bug fixing) 
MySQL
0005087: _checkTCIDAndTPIDValid() - use $tcase_id instead of $this->args[self::$testCaseExternalIDParamName]
Also a minor issue with the xmlrpc.class.php , you should revise the lines below to use $tcase_id instead of $this->args[self::$testCaseExternalIDParamName] to avoid empty values in message @ runtime.

   if( is_null($platform_id) )
            {
                $msg = sprintf(TCASEID_NOT_IN_TPLANID_STR,$tcase_info[0]['name'],
                               $tcase_id,$tplan_info['name'],$tplan_id);
                $this->errors[] = new IXR_Error(TCASEID_NOT_IN_TPLANID, $msg);
            }
else
            {
               
                $msg = sprintf(TCASEID_NOT_IN_TPLANID_FOR_PLATFORM_STR,$tcase_info[0]['name'],
                               $tcase_id,
                               $tplan_info['name'],$tplan_id,$platformInfo[$platform_id],$platform_id);
                $this->errors[] = new IXR_Error(TCASEID_NOT_IN_TPLANID_FOR_PLATFORM, $msg);
            }
TO BE FIXED on 2.0
Issue History
2012-07-10 23:48fast.chipNew Issue
2012-07-11 17:37fmanAssigned To => fman
2012-07-11 17:37fmanStatusnew => assigned
2012-07-11 18:44fmanNote Added: 0016964
2012-07-11 19:19fmanSummaryxmlrpc.class.php use $tcase_id instead of $this->args[self::$testCaseExternalIDParamName] => _checkTCIDAndTPIDValid() - use $tcase_id instead of $this->args[self::$testCaseExternalIDParamName]
2012-07-11 19:20fmanNote Added: 0016965
2012-07-11 19:20fmanStatusassigned => resolved
2012-07-11 19:20fmanFixed in Version => 1.9.4 (2012 Q3 - bug fixing)
2012-07-11 19:20fmanResolutionopen => fixed
2012-07-11 19:20fmanTag Attached: TO BE FIXED on 2.0
2012-09-01 19:59fmanNote Added: 0017328
2012-09-01 19:59fmanStatusresolved => closed
2013-04-25 17:30fmanCategoryTL API => XMLRPC API
2013-04-25 17:30fmanCategoryXMLRPC API => API - XMLRPC

Notes
(0016964)
fman   
2012-07-11 18:44   
next time please provide indication of method to change
(0016965)
fman   
2012-07-11 19:20   
teslink 1.9
http://gitorious.org/testlink-ga/testlink-code/commit/11ff3f1bc364ece3a938aee23ab1e08033856ed2 [^]
(0017328)
fman   
2012-09-01 19:59   
1.9.4 released