Task #91150
closedext_localconf.php of to-be-installed extensions breaks when DI services are used
100%
Description
ExtensionManager reloads ext_localconf after an extension has been installed.
ext_localconf.php files may use DI services.
Now, when an extension is installed and ext_localconf is loaded
and a DI service is requested, it will not yet be available.
This has been discovered with georgringer/news in revision 205cb3ef25a4cd49e922a74a8fbcc0b2299fac77.
Update 2020-04-21¶
- report was based on https://github.com/georgringer/news/commit/205cb3ef25a4cd49e922a74a8fbcc0b2299fac77
- there has been a work-around for ext:news to tackle this in
https://github.com/georgringer/news/commit/ac0cb20c5baba297352063d1332641e7c9cc2e3e - ext:news can be installed with TYPO3 v10
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64263
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64263
Updated by Benni Mack over 4 years ago
- Target version changed from 10 LTS to next-patchlevel
Updated by Gerrit Code Review over 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64263
Updated by Benjamin Franzke over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4e498f4ea3730cb3747f71b259df8b9549a3f6ad.