Actions
Bug #95401
closedSite configuration imports broken in v11.4
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
Start date:
2021-09-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I am using imports in the site configuration's config.yaml like this:
imports: - { resource: 'EXT:myext1/Configuration/Sites/config.yaml' } - { resource: 'EXT:myext2/Configuration/Sites/config.yaml' } - { resource: 'EXT:myext3/Configuration/Sites/config.yaml' }
When I flush the cache (or remove var/cache completely) and make also a clean install of composer dependencies the following exception is thrown:
Call to a member function isPackageActive() on null in /var/www/html/public/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php line 120 at TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('myext1') in /var/www/html/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 2816 at TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName('') in /var/www/html/public/typo3/sysext/core/Classes/Configuration/Loader/YamlFileLoader.php line 125 at TYPO3\CMS\Core\Configuration\Loader\YamlFileLoader->getStreamlinedFileName('EXT:myext1/Configuration/Sites/config.yaml', '/var/www/html/config/sites/main/config.yaml') in /var/www/html/public/typo3/sysext/core/Classes/Configuration/Loader/YamlFileLoader.php line 81 at TYPO3\CMS\Core\Configuration\Loader\YamlFileLoader->loadAndParse('EXT:myext1/Configuration/Sites/config.yaml', '/var/www/html/config/sites/main/config.yaml') in /var/www/html/public/typo3/sysext/core/Classes/Configuration/Loader/YamlFileLoader.php line 164
Updated by Georg Ringer over 2 years ago
- Status changed from New to Closed
this is a duplicate of #95305 which has been fixed in the meantime. please use either the master or wait until release next week.
Updated by Georg Ringer over 2 years ago
- Is duplicate of Bug #95305: ExtensionManagementUtility::isLoaded() cannot be used in Configuration/Services.php added
Updated by Chris Müller over 2 years ago
I disagree, the issue is not resolved as the bugfix was reverted:
https://github.com/TYPO3/typo3/commit/6dbe94b6da837f7003fbcb770ff9fd60cb86ee9e
Please reopen the issue.
Updated by Chris Müller over 2 years ago
- Is duplicate of Bug #95476: Site configuration imports broken in v11.5 added
Actions