Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008791TestLinkTest Executepublic2019-10-29 14:332019-10-30 18:37
Reporterpbentancour 
Assigned Tofman 
PriorityhighSeveritycrashReproducibilityalways
StatusassignedResolutionopen 
PlatformChromeOSWindowsOS Version10
Product Version1.9.19 (2019 Q1) 
Fixed in Version 
Summary0008791: Fatal error: Uncaught Error: Call to undefined method testcase::get_scripts_for_testcase() in C:\xampp\htdocs\testlink\lib\execu
Descriptionthrow Fatal Error when trying to execute testcase in a different proyect.
Steps To ReproduceSteps:
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
Additional InformationThe 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.
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
BrowserChrome
PHP Version
TestCaseID
QA Team - Task Workflow Status
Attached Filespng file icon Error.png [^] (67,065 bytes) 2019-10-29 14:33


? file icon execSetResults.php [^] (76,071 bytes) 2019-10-29 14:33

- Relationships

-  Notes
(0029277)
fman (administrator)
2019-10-30 10:24

upgrade to code present in github branch tl1.9.19.01 , retest and provide feedback
(0029278)
pbentancour (reporter)
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.


- Issue History
Date Modified Username Field Change
2019-10-29 14:33 pbentancour New Issue
2019-10-29 14:33 pbentancour File Added: Error.png
2019-10-29 14:33 pbentancour File Added: execSetResults.php
2019-10-30 10:24 fman Note Added: 0029277
2019-10-30 10:24 fman Assigned To => fman
2019-10-30 10:24 fman Status new => feedback
2019-10-30 13:28 pbentancour Note Added: 0029278
2019-10-30 13:28 pbentancour Status feedback => assigned
2019-10-30 18:37 pbentancour Note Edited: 0029278 View Revisions



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker