[TASK] Allow DI based services in localconf during extension install
We fix PackageManager and ContainerBuilder to allow multiple container instances (including multiple cache identifiers) to be live. ExtensionManager will now load a new symfony container after installing a new extension, and before reloading all ext_localconf files. We need to ensure that possible services in ext_localconf can be loaded when they depend on symfony DI. Note: This is not a BUGFIX as this was never supported for extensions. But it may lead to hard-to-debug bugs when extension developers add a service to ext localconf but do not test the re-installation procedure before publishing the extension to TER. Releases: master Resolves: #91150 Change-Id: I9b01feae6fe2f1637ca653403336cd7d216483bd Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64263 Reviewed-by:Simon Gilli <typo3@gilbertsoft.org> Reviewed-by:
Raphael Zschorsch <rafu1987@gmail.com> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Raphael Zschorsch <rafu1987@gmail.com> Tested-by:
Simon Gilli <typo3@gilbertsoft.org> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
Showing
- typo3/sysext/core/Classes/DependencyInjection/ContainerBuilder.php 7 additions, 6 deletions...ext/core/Classes/DependencyInjection/ContainerBuilder.php
- typo3/sysext/core/Classes/Package/PackageManager.php 2 additions, 0 deletionstypo3/sysext/core/Classes/Package/PackageManager.php
- typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php 23 additions, 1 deletion...ysext/extensionmanager/Classes/Utility/InstallUtility.php
- typo3/sysext/extensionmanager/Tests/Unit/Utility/InstallUtilityTest.php 11 additions, 1 deletion...xtensionmanager/Tests/Unit/Utility/InstallUtilityTest.php
Please register or sign in to comment