Project

General

Profile

Actions

Task #91150

closed

ext_localconf.php of to-be-installed extensions breaks when DI services are used

Added by Benjamin Franzke over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extension Manager
Target version:
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

Actions

Also available in: Atom PDF