Project

General

Profile

Bug #100944

Updated by Torben Hansen over 1 year ago

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: 

 <pre> 
 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 
 </pre> 

 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@ 

Back