[BUGFIX] Call base setup in CLI bootstrap 37/40837/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Wed, 1 Jul 2015 18:51:52 +0000 (20:51 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Wed, 1 Jul 2015 21:54:04 +0000 (23:54 +0200)
The baseSetup call for the bootstrap was forgotten during the Application/ Bootstrap
refactoring. Add this call to the console application to fix the fatals.

Resolves: #67878
Related: #67808
Releases: master
Change-Id: Ic6a05b3d605a9f7cbde0b23e9d4417ef2d9c35fe
Reviewed-on: http://review.typo3.org/40837
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/backend/Classes/Console/Application.php

index a6f4ee8..bca462e 100644 (file)
@@ -52,7 +52,8 @@ class Application implements ApplicationInterface {
                \TYPO3\CMS\Core\Core\CliBootstrap::checkEnvironmentOrDie();
 
                $this->bootstrap = Bootstrap::getInstance()
-                       ->initializeClassLoader($classLoader);
+                       ->initializeClassLoader($classLoader)
+                       ->baseSetup($this->entryPointPath);
 
                foreach ($this->availableRequestHandlers as $requestHandler) {
                        $this->bootstrap->registerRequestHandlerImplementation($requestHandler);