Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
MiguelGomes3 opened this issue Oct 28, 2024 · 3 comments

Comments

@MiguelGomes3
Copy link

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
Copy link
Collaborator

you have ProcesssManager installed?

@MiguelGomes3
Copy link
Author

@dpfaffenbauer Yes I do, Version 4.0.0

@dpfaffenbauer
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants