Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008971TestLinkTest Spec. - Test Case Stepspublic2020-08-04 11:202020-08-04 18:12
Reporternaveenniwatiya 
Assigned Tofman 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionno change required 
PlatformWindowsOSWindows server OS Version2008 R2
Product Version1.9.20 
Fixed in Version 
Summary0008971: Getting error message while adding new Testcase under a test suite
DescriptionHi Team,
I have recently upgraded to version 1.9.20 from 1.9.18 but Getting below error message while adding new Testcase under a testsuite.

==============================================================================
 DB Access Error - debug_print_backtrace() OUTPUT START
 ATTENTION: Enabling more debug info will produce path disclosure weakness (CWE-200)
            Having this additional Information could be useful for reporting
            issue to development TEAM.
 ==============================================================================
#0 database->exec_query() called at [E:\wamp\www\testlink20\lib\functions\database.class.php:763]
#1 database->get_recordset() called at [E:\wamp\www\testlink20\lib\functions\testproject.class.php:3516]
0000002 testproject->isCodeTrackerEnabled() called at [E:\wamp\www\testlink20\lib\testcases\tcEdit.php:649]
0000003 initializeGui() called at [E:\wamp\www\testlink20\lib\testcases\tcEdit.php:42]

Error in Log file:
[20/Aug/4 23:40:42][ERROR][t5as6g9na3bjo375hf7og1c3gr][DATABASE]
        ERROR ON exec_query() - database.class.php
1054 - Unknown column 'code_tracker_enabled' in 'field list' - /* Class:testproject - Method: isCodeTrackerEnabled */ SELECT code_tracker_enabled FROM testprojects WHERE id =84610
THE MESSAGE : /* Class:testproject - Method: isCodeTrackerEnabled */ SELECT code_tracker_enabled FROM testprojects WHERE id =84610
Query failed: errorcode[1054]
    errormsg:Unknown column 'code_tracker_enabled' in 'field list'
Steps To Reproduce1. Login to testlink
2. Navigate to Test specification
3. click on Test suite
4. Click on + button to add Testcase

Additional InformationDB: mysql 8.0.18
apache version: 2.4.41
PHP version:7.3.12
WAMP: 3.2
TagsNo tags attached.
Database (MySQL,Postgres,etc)MYSQL 8.0.18
BrowserChrome
PHP Version7.3.12
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships

-  Notes
(0029862)
fman (administrator)
2020-08-04 12:15

your db has problems as you can see a column is missing -> Unknown column 'code_tracker_enabled'

get code from github branch testlink_1_9_20_fixed, do a fresh install , retest and provide feedback
(0029863)
naveenniwatiya (reporter)
2020-08-04 13:32
edited on: 2020-08-04 14:24

Issue get resolved after adding column in testprojects table


- Issue History
Date Modified Username Field Change
2020-08-04 11:20 naveenniwatiya New Issue
2020-08-04 12:15 fman Note Added: 0029862
2020-08-04 12:15 fman Status new => feedback
2020-08-04 12:16 fman QA Team - Task Workflow Status => TBD
2020-08-04 12:16 fman Priority immediate => normal
2020-08-04 13:32 naveenniwatiya Note Added: 0029863
2020-08-04 13:32 naveenniwatiya Status feedback => new
2020-08-04 14:24 naveenniwatiya Note Edited: 0029863 View Revisions
2020-08-04 18:12 fman Status new => closed
2020-08-04 18:12 fman Assigned To => fman
2020-08-04 18:12 fman Resolution open => no change required



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker