Mantis Bugtracker 

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007798TestLinkGeneralpublic2016-12-29 10:302016-12-29 10:30
Assigned To 
PlatformLinuxOSDebianOS Version7.11
Product Version1.9.15 (2015 Q4) 
Fixed in Version 
Summary0007798: Debug code left: file_put_contents(/development/var/tracer.log)
DescriptionWhile looking at the testlink event page I noticed this entry:

file_put_contents(/development/var/tracer.log): failed to open stream: No such file or directory - in /var/www/testlink-1.9.15/lib/functions/tlFilterControl.class.php - Line 268

Seems there was some debug code left in by mistake.

The file is /lib/functions/tlFilterControl.class.php.

It's in the protected function read_config(), the line is:

 file_put_contents('/development/var/tracer.log',"\n" . __METHOD__,FILE_APPEND);
Steps To ReproduceWarnings visible from the event log, showed up several time while I was working on testplans.

As it's in the read_config function I assume it should be fairly easy to reproduce.
TagsNo tags attached.
Database (MySQL,Postgres,etc)Postgres, but not relevant here.
BrowserFirefox 50.1.0
PHP VersionPHP 5.4.4-14
QA Team - Task Workflow Status
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2016-12-29 10:30 dstraube New Issue

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker