Actions
Task #91150
closedext_localconf.php of to-be-installed extensions breaks when DI services are used
Start date:
2020-04-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Sprint Focus:
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
Actions