64263[TASK] Allow DI based services in localconf during extension install
Commit message
Review
-
Code review CR +2 Done
- Andreas Kienast +2
- Raphael Zschorsch +1
- Simon Gilli +1
-
Verified V +2 Done
- Andreas Kienast +2
- Raphael Zschorsch +1
- Simon Gilli +1
- TYPO3com +1 CI
Issues 1
Files 4
Review log 1417
-
Benjamin Franzke uploaded patch set 1 04/20/20, 17:19
-
TYPO3com voted on patch set 1 V -1 04/20/20, 17:31 Completed build in 11m 44s on Mon, 20 Apr, 05:31 PM Test Summary: 36 of 74141 failed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-2913
-
Benjamin Franzke uploaded patch set 2 04/21/20, 07:51
-
TYPO3com voted on patch set 2 V +1 04/21/20, 08:08 Completed build in 16m 07s on Tue, 21 Apr, 08:08 AM Test Summary: 73657 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-2943
-
Benjamin Franzke commented on patch set 2 CR -1 04/21/20, 08:18
TODO: Still need to test the following codepath: Update (not install) an Extension in classic mode via ExtensionManager that starts to introduce DI while also trying to use a class that depends on DI via GeneralUtility::makeInstance in ext_localconf (like EXT:news did). -
Benjamin Franzke commented on patch set 2 CR 0 04/27/20, 05:56
Can not test the additional update codepath because the test extension is currently blocked by a TER issue: https://gitlab.typo3.org/t3o/ter/issues/448 Still, I'd like to see this install-codepath fix to be included into the upcoming patch release. In the meantime it was reported that this patch allows to listen to the TYPO3\CMS\Core\Package\Event\AfterPackageActivationEvent in an extension that is about to be installed: https://typo3.slack.com/archives/C025BQLFA/p1587719153181900 That case also requires an ad-hoc container re-generation after an extension has been installed. -
Simon Gilli commented on patch set 2 CR -1 04/27/20, 06:09
ContainerBuilder.php:38UnresolvedCode below accesses this var as array, annotation should be fixed -
Benjamin Franzke uploaded patch set 3 04/27/20, 06:22
-
Simon Gilli voted on patch set 3 CR +1 04/27/20, 06:24
-
Benjamin Franzke wrote 04/27/20, 06:37
Topic set to di -
TYPO3com voted on patch set 3 V +1 04/27/20, 07:32 Completed build in 11m 41s on Mon, 27 Apr, 07:32 AM Test Summary: 73656 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-3041
-
Raphael Zschorsch voted on patch set 3 V +1 CR +1 04/27/20, 09:20
-
Benjamin Franzke commented on patch set 3 04/27/20, 18:10
InstallUtility.php:47UnresolvedNote: This adds an implicit dependency from EXT:extensionmananger to EXT:install (which is ok for v10, bot not nice). We can not move LateBootService to EXT:core right now, as TYPO3-Console already makes use of that class (it is a comproise we agreed on, because it would have been hard for TYPO3-Console to support v10 otherwise). We'll probably more LateBootService into core later (and maybe provide a class alias for typo3-console) – but for now this patch should go into tomorrows release with this little quirk. -
Simon Gilli commented on patch set 3 V +1 04/27/20, 18:56
-
Andreas Kienast voted on patch set 3 CR +1 04/27/20, 19:00
-
Andreas Kienast voted on patch set 3 V +2 CR +2 04/27/20, 19:13
-
Andreas Kienast merged patch set 4 04/27/20, 19:13