[BUGFIX] Ensure new extension classes are loaded 89/44689/3
authorNicole Cordes <typo3@cordes.co>
Thu, 12 Nov 2015 11:38:20 +0000 (12:38 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Sat, 21 Nov 2015 17:58:54 +0000 (18:58 +0100)
If you install any extension during the update, the classes are still
unknown. This is because the static autoload files aren't regenerated
after the installation. This patch triggers the update of class loading
information after an extension was installed.

Resolves: #71507
Releases: master
Change-Id: I6004ef2d7c10608c738037002380ea520bec03b8
Reviewed-on: https://review.typo3.org/44689
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/core/ext_localconf.php

index 42a1484..1f8091c 100644 (file)
@@ -50,8 +50,8 @@ $signalSlotDispatcher->connect(
 
 if (!\TYPO3\CMS\Core\Core\Bootstrap::usesComposerClassLoading()) {
     $signalSlotDispatcher->connect(
-        \TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::class,
-        'hasInstalledExtensions',
+        \TYPO3\CMS\Extensionmanager\Utility\InstallUtility::class,
+        'afterExtensionInstall',
         \TYPO3\CMS\Core\Core\ClassLoadingInformation::class,
         'dumpClassLoadingInformation'
     );