MantisBT - TestLink
View Issue Details
0008862TestLinkRequirement to Test Case Assignmentpublic2020-02-10 05:072020-02-10 11:35
veenone 
fman 
normalcrashalways
feedbackopen 
WindowsMicrosoft Windows Server2016
1.9.19 (2019 Q1) 
 
Postgres 10
chrome/ie
7.1.22
TBD
0008862: DB Access Error - error on exec_query()
DB error when assigning a test case which in Inactive state to a requirement.
- set testcase to desactivate (ACTIVATE > INACTIVE)
- link test case to requirement
- select target requirement
- click assign
- error displayed in the window
output in browser :
 
==============================================================================
 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( /* Class:requirement_mgr - Method: assign_to_tcase */ SELECT req_id,testcase_id,req_version_id,tcversion_id FROM req_coverage WHERE req_version_id IN (65548) AND tcversion_id = , -1) called at [C:\wamp64\www\testlink\lib\functions\database.class.php:637]
#1 database->fetchRowsIntoMap( /* Class:requirement_mgr - Method: assign_to_tcase */ SELECT req_id,testcase_id,req_version_id,tcversion_id FROM req_coverage WHERE req_version_id IN (65548) AND tcversion_id = , req_version_id) called at [C:\wamp64\www\testlink\lib\functions\requirement_mgr.class.php:1124]
0000002 requirement_mgr->assign_to_tcase(65547, 10205, 21) called at [C:\wamp64\www\testlink\lib\requirements\reqTcAssign.php:250]
0000003 doSingleTestCaseOperation(database Object ([db] => ADODB_postgres8 Object ([databaseType]
No tags attached.
Issue History
2020-02-10 05:07veenoneNew Issue
2020-02-10 11:34fmanNote Added: 0029471
2020-02-10 11:34fmanQA Team - Task Workflow Status => TBD
2020-02-10 11:34fmanAdditional Information Updatedbug_revision_view_page.php?rev_id=6011#r6011
2020-02-10 11:35fmanNote Added: 0029472
2020-02-10 11:35fmanAssigned To => fman
2020-02-10 11:35fmanStatusnew => feedback

Notes
(0029471)
fman   
2020-02-10 11:34   
please do not add a note with this amount of text, is impossible to manage
(0029472)
fman   
2020-02-10 11:35   
get branch testlink_1_9_20_fixed from github, do fresh install, retest and provide feedback