Skip to content
Snippets Groups Projects
Commit 4e498f4e authored by Benjamin Franzke's avatar Benjamin Franzke Committed by Andreas Fernandez
Browse files

[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: default avatarSimon Gilli <typo3@gilbertsoft.org>
Reviewed-by: default avatarRaphael Zschorsch <rafu1987@gmail.com>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarRaphael Zschorsch <rafu1987@gmail.com>
Tested-by: default avatarSimon Gilli <typo3@gilbertsoft.org>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent e4f4ca08
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