Task #91150

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

Added by Benjamin Franzke about 1 year ago. Updated about 1 year 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

#1

Updated by Gerrit Code Review about 1 year 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

#2

Updated by Gerrit Code Review about 1 year 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

#3

Updated by Oliver Hader about 1 year ago

  • Description updated (diff)
#4

Updated by Oliver Hader about 1 year ago

  • Description updated (diff)
#5

Updated by Benni Mack about 1 year ago

  • Target version changed from 10 LTS to next-patchlevel
#6

Updated by Gerrit Code Review about 1 year 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

#7

Updated by Benjamin Franzke about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#8

Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF