Skip to content
Snippets Groups Projects
Commit 34ecc5dd authored by Christian Kuhn's avatar Christian Kuhn Committed by Markus Klein
Browse files

[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: default avatarJigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: default avatarJigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: default avatarMarkus Klein <klein.t3@reelworx.at>
Tested-by: default avatarMarkus Klein <klein.t3@reelworx.at>
parent da38c94d
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment