[BUGFIX] Ignore cache configuration options when loading Install tool 14/27214/2
authorStephan Großberndt <stephan@grossberndt.de>
Fri, 31 Jan 2014 18:56:18 +0000 (19:56 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 1 Feb 2014 12:57:41 +0000 (13:57 +0100)
The options of cacheConfigurations were not reset when setting the
cacheConfigurations to NullBackend in the Install tool.

Resolves: #55527
Releases: 6.2
Change-Id: I25586f16f001fdddbd2d43b2df9110f65c4ad1b4
Reviewed-on: https://review.typo3.org/27214
Reviewed-by: Ernesto Baschny
Reviewed-by: Peter Kuehn
Tested-by: Peter Kuehn
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/install/Classes/Controller/AbstractController.php

index e115c59..0346680 100644 (file)
@@ -408,6 +408,7 @@ class AbstractController {
                        require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('dbal') . 'ext_localconf.php');
                        $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['dbal']['backend']
                                = 'TYPO3\\CMS\\Core\\Cache\\Backend\\NullBackend';
+                       $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['dbal']['options'] = array();
                }
 
                require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('extbase') . 'ext_localconf.php');
@@ -415,14 +416,19 @@ class AbstractController {
 
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_datamapfactory_datamap']['backend']
                        = 'TYPO3\\CMS\\Core\\Cache\\Backend\\NullBackend';
+               $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_datamapfactory_datamap']['options'] = array();
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_object']['backend']
                        = 'TYPO3\\CMS\\Core\\Cache\\Backend\\NullBackend';
+               $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_object']['options'] = array();
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_reflection']['backend']
                        = 'TYPO3\\CMS\\Core\\Cache\\Backend\\NullBackend';
+               $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_reflection']['options'] = array();
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_typo3dbbackend_tablecolumns']['backend']
                        = 'TYPO3\\CMS\\Core\\Cache\\Backend\\NullBackend';
+               $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_typo3dbbackend_tablecolumns']['options'] = array();
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['fluid_template']['backend']
                        = 'TYPO3\\CMS\\Core\\Cache\\Backend\\NullBackend';
+               $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['fluid_template']['options'] = array();
 
                /** @var $cacheManager \TYPO3\CMS\Core\Cache\CacheManager */
                $cacheManager = $GLOBALS['typo3CacheManager'];