Mantis Bugtracker 

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008501TestLinkDatabase MySQLpublic2018-12-11 05:542018-12-17 20:57 
Assigned Tofman 
StatusresolvedResolutionunable to reproduce 
PlatformOSOS Version
Product Version1.9.18 (2018 Q3) 
Fixed in Version 
Summary0008501: ISSUE in upgrading from 1.9.4 to 1.9.17
DescriptionI am upgrading testlink 1.9.4 to 1.9.17. After performing the database upgrade on my old db(with data). I have added custom fields and modified queries in metricsDashboard.php. After init_env() in metricsDashboard.php when I am doing var_dump($db). The $db is not getting printed and throwing "connection is reset" error. After debugging further I found that $db object is getting unreferenced in database.class.php in fetchFirstRow($sql) which is called from tlUser.class.php.

testlinkInitPage(metricsDashboard.php) ->
checkSessionValid($user->readFromDB($db)(common.php) ->
$info = $db -> fetchFirstRow($sql)(database.class.php)

Has it anything to do with upgradation of Php-5 to Php7? Is there any library I need to add/upgrade?

Note: I have added custom fields and modified few queries to show custom fields in matrixDashboard page. There is no other change done in original logic except adding those fields in query and printing them.
TagsNo tags attached.
Database (MySQL,Postgres,etc)5.7.19
PHP Version7.1.9
QA Team - Task Workflow Status
Attached Files

- Relationships
related to 0008498resolvedfman ISSUE in upgrading from 1.9.4 to 1.9.17 

-  Notes
fman (administrator)
2018-12-11 18:21
edited on: 2018-12-11 18:22

would you mind to explain why you have open also 0008498?

I've asked for some actions on 0008498, but you have provided no feedback, and now you open a new ticket

fman (administrator)
2018-12-17 20:57

no more user feedback

- Issue History
Date Modified Username Field Change
2018-12-11 05:54 New Issue
2018-12-11 18:21 fman Note Added: 0028314
2018-12-11 18:21 fman Relationship added related to 0008498
2018-12-11 18:22 fman Note Edited: 0028314 View Revisions
2018-12-17 20:57 fman Note Added: 0028333
2018-12-17 20:57 fman Status new => resolved
2018-12-17 20:57 fman Resolution open => unable to reproduce
2018-12-17 20:57 fman Assigned To => fman

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker