[BUGFIX] Install tool fatal with options for cache_classes 99/36999/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 18 Feb 2015 18:17:58 +0000 (19:17 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Wed, 18 Feb 2015 20:03:19 +0000 (21:03 +0100)
commit34ecc5dd82742b4cb75d90f8fdfc0de97ec0f32d
tree7b233e0f673c3e97047aa544fbdf5d507eaa113e
parentda38c94d6162dfb5e9ce9ba0eba66cabaf575fd0
[BUGFIX] Install tool fatal with options for cache_classes

Setting an option like cacheDirectory for cache_classes or
cache_core triggers a fatal if calling the install tool.
This happens because the install tool calls the bootstrap
loadConfigurationAndInitialize() with $allowCaching = FALSE
which then calls disableCoreAndClassesCache() and sets the
backend of both caches to NullBackend. The cacheDirectory
option however is not supported by this backend.
Solution is to unset any options configured for these caches
within disableCoreAndClassesCache().

Resolves: #65153
Releases: master, 6.2
Change-Id: I3200d6752794c1769fe4e049c301ee8fa185ecf9
Reviewed-on: http://review.typo3.org/36999
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/Core/Bootstrap.php