Project

General

Profile

Actions

Bug #55192

closed

Class 'TYPO3\CMS\Scheduler\Task\AbstractTask' not found

Added by Stefano Kowalke almost 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Category:
Tests
Target version:
Start date:
2014-01-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

When running UnitTests for UpdateExtensionListTask and the extension Scheduler is not loaded will raise an Fatal error:

PHP Fatal error:  Class 'TYPO3\CMS\Scheduler\Task\AbstractTask' not found in typo3/sysext/extensionmanager/Classes/Task/UpdateExtensionListTask.php on line 32
PHP Stack trace:
PHP   1. {main}() typo3/mod.php:0
PHP   2. require() typo3/mod.php:41
PHP   3. Tx_Phpunit_BackEnd_Module->main() typo3conf/phpunit/Classes/BackEnd/index.php:86
PHP   4. Tx_Phpunit_BackEnd_Module->renderRunTests() typo3conf/phpunit/Classes/BackEnd/Module.php:206
PHP   5. Tx_Phpunit_BackEnd_Module->renderRunningTest() typo3conf/phpunit/Classes/BackEnd/Module.php:288
PHP   6. Tx_Phpunit_BackEnd_Module->runTestCase($testSuiteWithAllTestCases = *uninitialized*, $testResult = *uninitialized*) typo3conf/phpunit/Classes/BackEnd/Module.php:591
PHP   7. PHPUnit_Framework_TestCase->run($result = *uninitialized*) typo3conf/phpunit/Classes/BackEnd/Module.php:804
PHP   8. PHPUnit_Framework_TestResult->run($test = *uninitialized*) typo3conf/phpunit/Composer/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:776
PHP   9. TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase->runBare() typo3conf/phpunit/Composer/vendor/phpunit/phpunit/PHPUnit/Framework/TestResult.php:648
PHP  10. PHPUnit_Framework_TestCase->runBare() typo3/sysext/extbase/Tests/Unit/BaseTestCase.php:49
PHP  11. PHPUnit_Framework_TestCase->runTest() typo3conf/phpunit/Composer/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:831
PHP  12. ReflectionMethod->invokeArgs(*uninitialized*, *uninitialized*) typo3conf/phpunit/Composer/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:976
PHP  13. TYPO3\CMS\Extensionmanager\Tests\Unit\Task\UpdateExtensionListTaskTest->executeCallsUpdateExtListOfRepositoryHelper() typo3conf/phpunit/Composer/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:976
PHP  14. TYPO3\CMS\Core\Core\ClassLoader->loadClass($className = *uninitialized*) typo3conf/phpunit/Composer/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:0
PHP  15. require_once() typo3/sysext/core/Classes/Core/ClassLoader.php:178

Related issues 1 (0 open1 closed)

Precedes TYPO3 Core - Task #55206: UpdateExtensionListTaskTest should be a functional testClosed2014-01-21

Actions
Actions #1

Updated by Gerrit Code Review almost 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26954

Actions #2

Updated by Gerrit Code Review almost 11 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26954

Actions #3

Updated by Gerrit Code Review almost 11 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26954

Actions #4

Updated by Stefano Kowalke almost 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF