Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008844TestLinkTest Execution - Bulk Modepublic2020-01-13 14:202020-01-22 12:02
Reporterspirogov 
Assigned Tofman 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version1.9.19 (2019 Q1) 
Fixed in Version1.9.20_fixed 
Summary0008844: Errors when user executes Test Suite
DescriptionI've installed latest TestLink 1.9.19-10 using installer from Bitnami and executed sqls from the last db backup (we used 1.9.15-2).
And I get errors when I tried to execute any Test Suite.
But all is ok if I execute test case one-by-one.
Steps To Reproduce1. Open Test Execution.
2. Select Test Suite. F.e. there are 6 cases in this test suite.
3. Select Passed radio button and click Save Execution button in result section.
4. Errors occur (please see screen shot).
Additional InformationPlease see errors:

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:testproject - Method: getTestCasePrefix */ SELECT prefix FROM testprojects WHERE id = ) called at [C:\Bitnami\testlink-1.9.19-10\apps\testlink\htdocs\lib\functions\database.class.php:553]
#1 database->fetchFirstRow(/* Class:testproject - Method: getTestCasePrefix */ SELECT prefix FROM testprojects WHERE id = ) called at [C:\Bitnami\testlink-1.9.19-10\apps\testlink\htdocs\lib\functions\database.class.php:573]
0000002 database->fetchOneValue(/* Class:testproject - Method: getTestCasePrefix */ SELECT prefix FROM testprojects WHERE id = ) called at [C:\Bitnami\testlink-1.9.19-10\apps\testlink\htdocs\lib\functions\testproject.class.php:1045]
0000003 testproject->getTestCasePrefix() called at [C:\Bitnami\testlink-1.9.19-10\apps\testlink\htdocs\lib\functions\testcase.class.php:1780]
0000004 testcase->getPrefix(Array ([0] => 27934,[1] => 27938,[2] => 27942,[3] => 27946,[4] => 27950,[5] => 27956), ) called at [C:\Bitnami\testlink-1.9.19-10\apps\testlink\htdocs\lib\functions\testcase.class.php:5228]
0000005 testcase->getExternalID(Array ([0] => 27934,[1] => 27938,[2] => 27942,[3] => 27946,[4] => 27950,[5] => 27956)) called at [C:\Bitnami\testlink-1.9.19-10\apps\testlink\htdocs\lib\execute\execSetResults.php:165]
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
BrowserOpera, Chrome
PHP Version7.3.13
TestCaseID
QA Team - Task Workflow StatusREADY FOR TESTING
Attached Filesjpg file icon 2020-01-13_16h00_18.jpg [^] (302,323 bytes) 2020-01-13 14:20
png file icon NewProject_TestSuite_Selection_issue.png [^] (81,634 bytes) 2020-01-14 12:42


png file icon Steps.png [^] (105,181 bytes) 2020-01-15 11:47


png file icon Result.png [^] (72,114 bytes) 2020-01-15 11:47


png file icon Expected result.png [^] (81,290 bytes) 2020-01-15 11:47

- Relationships
related to 0008130resolvedfman Save execution DB Access Error in bulk mode 

-  Notes
(0029409)
fman (administrator)
2020-01-13 17:37

in this query
SELECT prefix FROM testprojects WHERE id =

the value for id is missing => this is the issue

are you doing BULK execution?

Please retry using a fresh install => not with your restored data
(0029411)
spirogov (reporter)
2020-01-14 12:41
edited on: 2020-01-14 12:43

I've installed bitnami-testlink-1.9.19-10-windows-x64-installer on my local machine and create new test project, new test plan, test platforms, build, test suite, 6 test cases, add them to test plan and assigned them to myself.
After that I select Test Execution -> select Test Plan in tree -> right panel is refreshed -> select Test Suite in the tree -> nothing happens in right panel (please see screen shot - NewProject_TestSuite_Selection_issue.png).
Maybe I forgot something to add?


Note: For initial issue's description - I have 2 projects in testprojects table with id=1 and id=10033.

(0029412)
fman (administrator)
2020-01-14 13:18

Your issue reporting has changed, it's not clear what do you expect.
Again: do you have configured Bulk execution?
standard config is nothing happens on exec if you click on a test suite
(0029413)
spirogov (reporter)
2020-01-15 11:46

Sorry, I didn't understand your request a little.

1. I have configured row below in config.inc.php:
$tlCfg->exec_cfg->show_testsuite_contents = ENABLED;
2. Select Test Suite.
3. Select Passed radio button in Result section and click Save execution button (please see screen shot: Steps.png).
As a result I get errors (please see screen shot: Result.png).
I expect that all cases are marked as Passed without these error messages (please see screen shot: Expected result.png).
(0029444)
fman (administrator)
2020-01-21 22:04

fixed here
https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/6301b1421619f0705efa815639f2a3d0a34842d9 [^]
(0029448)
spirogov (reporter)
2020-01-22 11:53

Thanks a lot.

- Issue History
Date Modified Username Field Change
2020-01-13 14:20 spirogov New Issue
2020-01-13 14:20 spirogov File Added: 2020-01-13_16h00_18.jpg
2020-01-13 17:37 fman Note Added: 0029409
2020-01-13 17:37 fman Assigned To => fman
2020-01-13 17:37 fman Status new => feedback
2020-01-14 12:41 spirogov Note Added: 0029411
2020-01-14 12:41 spirogov Status feedback => assigned
2020-01-14 12:42 spirogov File Added: NewProject_TestSuite_Selection_issue.png
2020-01-14 12:43 spirogov Note Edited: 0029411 View Revisions
2020-01-14 13:18 fman Note Added: 0029412
2020-01-15 11:46 spirogov Note Added: 0029413
2020-01-15 11:47 spirogov File Added: Steps.png
2020-01-15 11:47 spirogov File Added: Result.png
2020-01-15 11:47 spirogov File Added: Expected result.png
2020-01-21 22:04 fman Note Added: 0029444
2020-01-21 22:04 fman QA Team - Task Workflow Status => READY FOR TESTING
2020-01-21 22:04 fman Status assigned => resolved
2020-01-21 22:04 fman Fixed in Version => 1.9.20_fixed
2020-01-21 22:04 fman Resolution open => fixed
2020-01-22 11:53 spirogov Note Added: 0029448
2020-01-22 12:02 fman Relationship added related to 0008130



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker