We start using the Testlink 1.9 beta 6 and we found one error about keywords. The test case displaying not working in Add Test Cases to Test Plan page. I select only one keyword from my list and I click one test suite directory (which is contains some test cases with different keywords). And the right panel displays all test cases in selected test suite.
I debug some php files and found following "error":
I made following fix for filtering problem (repleace following line in getTestSpecFromNode function if(($useFilter['keyword_id']=$filters['keyword_id'][0] > 0))) :lib/functions/specview.php:
function getTestSpecFromNode:
if(($useFilter['keyword_id']=$filters['keyword_id'][0] > 0))
Code: Select all
/*
* Repair filter checking
* Isty from Balabit
*
* If the filter is not array then convert to array.
*/
if( !is_array($filters['keyword_id']) ) {
$tempVar = $filters['keyword_id'];
$filters['keyword_id'] = array();
$filters['keyword_id'][0] = $tempVar;
}
if(($useFilter['keyword_id']=$filters['keyword_id'][0] > 0))