Actions
Bug #100944
closedMissing dependency to ext:lowlewel in ext:webhooks
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
WebHooks - Incoming = Reactions + Outgoing
Target version:
-
Start date:
2023-06-01
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
ext:webhooks seems to have a hard dependency to ext:lowlevel. When I install TYPO3 in composer mode and typo3/cms-webhooks
is installed but typo3/cms-lowlewel
is missing, the following exception is thrown:
Thu, 01 Jun 2023 17:38:22 +0200 [CRITICAL] request="231bfe3eadadc" component="TYPO3.CMS.Core.Error.ProductionExceptionHandler": Core: Exception handler (WEB: BE): Symfony\Component\DependencyInjection\Exception\RuntimeException, code #0, file /var/www/testing/httpdocs/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php, line 179: Invalid service "lowlevel.configuration.module.provider.webhooks": class "TYPO3\CMS\Lowlevel\ConfigurationModuleProvider\AbstractProvider" not found while loading "TYPO3\CMS\Webhooks\ConfigurationModuleProvider\WebhookTypesProvider". - {"mode":"WEB","application_mode":"BE","exception_class":"Symfony\\Component\\DependencyInjection\\Exception\\RuntimeException","exception_code":0,"file":"/var/www/testing/httpdocs/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php","line":179,"message":"Invalid service \"lowlevel.configuration.module.provider.webhooks\": class \"TYPO3\\CMS\\Lowlevel\\ConfigurationModuleProvider\\AbstractProvider\" not found while loading \"TYPO3\\CMS\\Webhooks\\ConfigurationModuleProvider\\WebhookTypesProvider\".","request_url":"http://testing/typo3/","exception":null
This is most likely to symfony DI, which tries to resolve arguments for $sendersLocator
and can not find TYPO3\CMS\Webhooks\ConfigurationModuleProvider\WebhookTypesProvider
Problem is easy to reproduce by installing a new TYPO3 website using composer create-project "typo3/cms-base-distribution:^12.4" my-new-project
Actions