MantisBT - TestLink
View Issue Details
0006759TestLinkTest Executepublic2014-11-17 11:102014-12-31 14:22
irfanexpress 
fman 
normalminoralways
closedfixed 
1.9.12 (2014 Q3) 
1.9.13 (2015 #1) 
Mysql
Google Chrome
READY FOR TESTING
0006759: During 'delete execution' system fire 'DB Access Error - debug_print_backtrace() OUTPUT START'
During 'delete execution' Testlink give a below error Message.
DB Access Error - debug_print_backtrace() OUTPUT START
1. Go to Test Execution tab.
2. Select already executed Testcase.
3. Delete last execution from 'Execution history'

Note: TestLink delete selected execution but with below error Message.


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.
Below error msg recorded in 'event viewer'

ERROR ON exec_query() - database.class.php
1054 - Unknown column 'id' in 'field list' - SELECT id FROM execution_tcsteps WHERE execution_id = 177739
THE MESSAGE : SELECT id FROM execution_tcsteps WHERE execution_id = 177739 Query failed: errorcode[1054] errormsg:Unknown column 'id' in 'field list'
No tags attached.
Issue History
2014-11-17 11:10irfanexpressNew Issue
2014-11-17 11:17irfanexpressNote Added: 0022174
2014-11-17 16:13fmanNote Added: 0022177
2014-11-17 16:13fmanAssigned To => fman
2014-11-17 16:13fmanStatusnew => feedback
2014-11-17 18:38fmanNote Added: 0022181
2014-11-21 09:24irfanexpressNote Added: 0022236
2014-11-21 09:24irfanexpressStatusfeedback => assigned
2014-11-21 13:10fmanQA Team - Task Workflow Status => READY FOR TESTING
2014-11-21 13:10fmanStatusassigned => resolved
2014-11-21 13:10fmanFixed in Version => 1.9.13 (2015 #1)
2014-11-21 13:10fmanResolutionopen => fixed
2014-12-31 14:22fmanStatusresolved => closed

Notes
(0022174)
irfanexpress   
2014-11-17 11:17   
In Config.inc.php "steps_exec" value set to false.
$tlCfg->exec_cfg->steps_exec = false;
(0022177)
fman   
2014-11-17 16:13   
Please
1. get lastest code from gitorious (branch 1.9)
2. do fresh install on sandabox
3. retest
4. provide feedback
5. provide very detailed steps to reproduce (see on forum.testlink.org to understand mininum level of details needed to allow dev team to work)
(0022181)
fman   
2014-11-17 18:38   
ATTENTION: check create script for execution_tcsteps table because schema has been changed
(0022236)
irfanexpress   
2014-11-21 09:24   
Ya, I missed below database script
"ALTER TABLE /*prefix*/execution_tcsteps ADD id INT PRIMARY KEY AUTO_INCREMENT;"

Now is working fine..
Please close the defect.