neontribe / KimaiCvsImportBundle

MIT License
1 stars 0 forks source link

Installation fails because of missing "Symfony\Bridge\Doctrine\RegistryInterface" #2

Closed green-bits closed 4 years ago

green-bits commented 4 years ago

When installing the plugin in Kimai 2 1.7 I get the following error:

Cannot autowire service "KimaiPlugin\NeontribeCvsImportBundle\Command\NeontribeCvsImportCommand": argument "$registry" of method "__construct()" references
  interface "Symfony\Bridge\Doctrine\RegistryInterface" but no such service exists. Try changing the type-hint to "Doctrine\Persistence\ManagerRegistry" instead.

How can I fix it?

herrschmidt commented 4 years ago

Hi, I am having the same issue:

 [ERROR] Cannot autowire service "KimaiPlugin\NeontribeCvsImportBundle\Command\NeontribeCvsImportCommand":
         argument "$registry" of method "__construct()" references interface
         "Symfony\Bridge\Doctrine\RegistryInterface" but no such service exists. Try changing the
         type-hint to "Doctrine\Persistence\ManagerRegistry" instead.

What can I do about it?

tobybatch commented 4 years ago

@herrschmidt @green-bits CSV import is now part of the kimai core. This isn't really supported anymore, sorry.

https://www.kimai.org/documentation/imports.html