-
Oliver Bartsch authored
In order to allow conditional service registration based on ExtensionManagementUtility::isLoaded() checks in Services.php, the PackageManager is pushed to ExtensionManagementUtility before container creation. This has been the case prior to #91500 in order to support runtime activated packages, but got removed as isLoaded() checks in Services.php have never been an intended usecase. They have been documented in example code nonetheless and therefore usage is now fixed: https://docs.typo3.org/c/typo3/cms-dashboard/master/en-us/Configuration/WidgetRegistration.html#services-php-file Documentation should be adapted to recommend conditional services checks (ContainerBuilder::hasDefinition) instead. Once that is done, isLoaded() in Services.php can be marked as deprecated in future patches. Resolves: #95327 Related: #91500 Releases: master Signed-off-by: Benjamin Franzke <bfr@qbus.de> Change-Id: Ifec470bd6364727ec0d9a5937106e6c94c0e18c2 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71214 Tested-by: core-ci <typo3@b13.com> Tested-by: Benni Mack <benni@typo3.org> Tested-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Benni Mack <benni@typo3.org> Reviewed-by: Oliver Bartsch <bo@cedev.de>
11c7e844