[BUGFIX] Fix fatal errors upon package installation 44/27544/2
authorThomas Maroschik <tmaroschik@dfau.de>
Tue, 11 Feb 2014 14:26:27 +0000 (15:26 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Tue, 11 Feb 2014 17:57:48 +0000 (18:57 +0100)
commit1775195462de2c755936fba3c609a73f16e7acf2
treed141b3cc5f86b1b082bd78a32eb35dfb82efc828
parent5d51daea910a73f3bb954c9adff51028d4863ad5
[BUGFIX] Fix fatal errors upon package installation

During the installation of packages via the extension
manager a fatal error can occur when the ext_localconf
and ext_tables are loaded and use classes from their own
package. This happens because the package is activated
but the class loader is not aware yet of the new package.

This patch adds the extension temporarily to the runtime
activated packages in the class loader.

Fixes: #53795
Releases: 6.2
Change-Id: I195b86284b9a288f4d7c102168ec18ed8683cb07
Reviewed-on: https://review.typo3.org/27544
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/core/Classes/Core/ClassLoader.php
typo3/sysext/core/Classes/Package/PackageManager.php