[BUGFIX] Clear all cache in install tool throws exception 11/29811/7
authorSascha Wilking <sascha.wilking@hmmh.de>
Sat, 3 May 2014 13:06:41 +0000 (15:06 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 3 May 2014 16:43:59 +0000 (18:43 +0200)
commit9c56789817f94179ecc10fcc960591f999abb2d8
tree58bb3b115c807fb00c313f6b9c98161996eca6f9
parent2437d6540347c6aa2ae32760a575800e717e3cc2
[BUGFIX] Clear all cache in install tool throws exception

reinitializeClassLoaderAndCachesAndPackageManagement
not only reloads the class loader and package management
but also reloads LocalConfiguratzion and
AdditionalConfiguration. This can lead to errors if
AdditionalConfiguration contains require_once calls.
The method is only used by ClearCacheService which
does not need the configuration reload.

Solution is to remove the method and introduce a new
one to unregister only the class loader. The other
bootstrap methods are now called directly in clear
cache of install tool.

Resolves: #58337
Releases: 6.2
Change-Id: I59cec5f3fc7dacbf83854c0559b4a8b3f143707d
Reviewed-on: https://review.typo3.org/29811
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Jan Runte
Tested-by: Jan Runte
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/install/Classes/Service/ClearCacheService.php