Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008607TestLinkLocalizationpublic2019-03-26 06:362019-03-26 06:36
Reporterhughkay 
Assigned To 
PrioritylowSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformallOSWindowsOS Version10
Product Version1.9.19 (2019 Q1) 
Fixed in Version 
Summary0008607: Obsolete Code which generates Logger warnings
DescriptionIn file "linkto.php" in main folder there is a function called "process_testsuite".
There are two lines (407 - 408) which are obsolete:
  $ret['url'] = null;
  $ret['msg'] = sprintf(lang_get('testsuite_not_found'), $tsuiteID, $tprojectPrefix);

Line 408 generates a PHP logger warning because the string "testsuite_not_found" is not defined in locale/en_GB/strings.txt file. But the string is not used anywhere else.
Furthermore the two array values are overwritten in lines 411 - 414 anyway and can therefore be deleted.
Additional InformationDelete lines 407 and 408 of linkto.php file in order to solve the issue.
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
Browser
PHP Version
TestCaseID
QA Team - Task Workflow Status
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2019-03-26 06:36 hughkay New Issue



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker