Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007974TestLinkEvent viewerpublic2017-06-12 07:192017-06-12 12:00
Reporterhughkay 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version1.9.16 (2016 Q4) 
Fixed in Version 
Summary0007974: Typos in testsuite.class.php file
DescriptionIn file "lib/functions/testsuite.class.php" there are some typos leading to warnings in event viewer:
in lines 863 and 928 (latest version from Github, within functions get_testcases_deep() and get_children_testcases()) there is a function call:
 $item=$tcase_mgr->get_last_version_info($value['id'],array('output' => full, 'get_steps' => true));
n
However, the word "full" is not put into quotes. Hence this evaluates to a non-defined constant at runtime which will throw an error.
Additional InformationSolution:
Put quotes around the word "full", i.e.
 $item=$tcase_mgr->get_last_version_info($value['id'],array('output' => 'full', 'get_steps' => true));
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
BrowserFirefox
PHP Version5.5.37
TestCaseID
QA Team - Task Workflow Status
Attached Files

- Relationships

-  Notes
(0026478)
fman (administrator)
2017-06-12 12:00

thanks

- Issue History
Date Modified Username Field Change
2017-06-12 07:19 hughkay New Issue
2017-06-12 12:00 fman Note Added: 0026478



Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker