Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008818TestLinkTest Execute - 'Save and move to next'public2019-12-08 11:222019-12-08 11:22
Reporterheju 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Fixed in Version 
Summary0008818: TL 1.9.20(dev) DB error on "Move to next" in pop up window display
DescriptionDear TestLink Team,

a db error occurs in case the "Move to next" button is clicked in the "Test execution" display pop up window accessible from the "Test result matrix" (see steps to reproduce)

In the "Execute Tests" view moving to next TC works as expected.


Steps To Reproduce1. Go to "Test result matrix"
2. For one of the test cases in the matrix, click the "Test Execution" sprocket symbol just before the test case name.
3. In the pop up window click the button "Move to next Test Case"

--> now you should see a db access error
Additional Information ==============================================================================

 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 [/var/www/html/testlink_1.9.20_191101/lib/functions/database.class.php:763]
#1 database->get_recordset() called at [/var/www/html/testlink_1.9.20_191101/lib/functions/testplan.class.php:7715]
0000002 testplan->getVersionLinked() called at [/var/www/html/testlink_1.9.20_191101/lib/execute/execSetResults.php:2040]
0000003 getLinkedItems() called at [/var/www/html/testlink_1.9.20_191101/lib/execute/execSetResults.php:321]






ERROR ON exec_query() - database.class.php
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 7 - /* Class:testplan - Method: getVersionLinked */ SELECT tcversion_id FROM testplan_tcversions TPTCV JOIN nodes_hierarchy NH_TCV ON NH_TCV.id = TPTCV.tcversion_id WHERE TPTCV.testplan_id = 642 AND NH_TCV.parent_id =
THE MESSAGE : /* Class:testplan - Method: getVersionLinked */ SELECT tcversion_id FROM testplan_tcversions TPTCV JOIN nodes_hierarchy NH_TCV ON NH_TCV.id = TPTCV.tcversion_id WHERE TPTCV.testplan_id = 642 AND NH_TCV.parent_id = Query failed: errorcode[1064] errormsg:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 7
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-12-08 11:22 heju New Issue



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker