instride-ch / pimcore-data-definitions

Data Definitions Plugin for Pimcore
Other
78 stars 58 forks source link

ExportDefinitionStartupFormResolver::__construct(): Argument #1 ($definitionRepository) must be of type ProcessManager\DefinitionRepository #428

Closed MiguelGomes3 closed 3 weeks ago

MiguelGomes3 commented 1 month ago
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Branch? 5.1

While running the import definition, I'm stumbling upon the following error: Message: Instride\Bundle\DataDefinitionsBundle\ProcessManager\ExportDefinitionStartupFormResolver::__construct(): Argument #1 ($definitionRepository) must be of type Instride\Bundle\DataDefinitionsBundle\ProcessManager\DefinitionRepository, Instride\Bundle\DataDefinitionsBundle\Repository\DefinitionRepository given, called in /var/www/html/var/cache/dev/ContainerKZH9cd2/getProcessManager_Registry_StartupFormResolverService.php on line 26

By adding following line to the use statements, it works as expected. use Instride\Bundle\DataDefinitionsBundle\Repository\DefinitionRepository;

dpfaffenbauer commented 1 month ago

you have ProcesssManager installed?

MiguelGomes3 commented 1 month ago

@dpfaffenbauer Yes I do, Version 4.0.0

dpfaffenbauer commented 1 month ago

@MiguelGomes3 we are not really developing it any further, so I would suggest removing it. We will also remove the DataDefs integration.