Issue Bug Closed

#100944Missing dependency to ext:lowlewel in ext:webhooks

Torben Hansen 06/01/23, 17:35 updated 06/02/23, 10:38

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.