MantisBT - TestLink
View Issue Details
0008791TestLinkTest Executepublic2019-10-29 14:332019-10-30 18:37
pbentancour 
fman 
highcrashalways
assignedopen 
ChromeWindows10
1.9.19 (2019 Q1) 
 
MySQL
Chrome
0008791: Fatal error: Uncaught Error: Call to undefined method testcase::get_scripts_for_testcase() in C:\xampp\htdocs\testlink\lib\execu
throw Fatal Error when trying to execute testcase in a different proyect.
Steps:
1-Create a new proyect
2-Create a new TestPlan
3-Create test cases
4-create a new build
5-Add test cases to the build
6-Go to execute test cases
7-Click on the test case

Bug:

Fatal error: Uncaught Error: Call to undefined method testcase::get_scripts_for_testcase() in C:\xampp\htdocs\testlink\lib\execute\execSetResults.php:321 Stack trace: #0 {main} thrown in C:\xampp\htdocs\testlink\lib\execute\execSetResults.php on line 321
The line on the file execSetResult contains:

 if(!is_null($cts)) {
        $gui->scripts[$tcversion_id]=$tcase_mgr->get_scripts_for_testcase($cts, $tcversion_id);
      }

On other Proyect I can execute cprrrectly.
No tags attached.
png Error.png (67,065) 2019-10-29 14:33
http://mantis.testlink.org/file_download.php?file_id=5238&type=bug
png

? execSetResults.php (76,071) 2019-10-29 14:33
http://mantis.testlink.org/file_download.php?file_id=5239&type=bug
Issue History
2019-10-29 14:33pbentancourNew Issue
2019-10-29 14:33pbentancourFile Added: Error.png
2019-10-29 14:33pbentancourFile Added: execSetResults.php
2019-10-30 10:24fmanNote Added: 0029277
2019-10-30 10:24fmanAssigned To => fman
2019-10-30 10:24fmanStatusnew => feedback
2019-10-30 13:28pbentancourNote Added: 0029278
2019-10-30 13:28pbentancourStatusfeedback => assigned
2019-10-30 18:37pbentancourNote Edited: 0029278bug_revision_view_page.php?bugnote_id=29278#r5966

Notes
(0029277)
fman   
2019-10-30 10:24   
upgrade to code present in github branch tl1.9.19.01 , retest and provide feedback
(0029278)
pbentancour   
2019-10-30 13:28   
(edited on: 2019-10-30 18:37)
I've fixed the issue doing this:
-In home/ Proyect managment/ into my Test Proyect settings / Disable code tracker integration / Confirm.

The flag should be on Yellow.

At the moment I've not integration with any tracker tool.
For next step I will uppgrade the versiĆ³n.

Thanks.