doctrine-extra-bundle icon indicating copy to clipboard operation
doctrine-extra-bundle copied to clipboard

Symfony 5.2 incompatible ?

Open FluffyDiscord opened this issue 3 years ago • 3 comments

Getting this error, last time I ran into something similar was when I had to migrate from symfony 5.1 to symfony 5.2, which has upgraded doctrine version.

  Argument 1 passed to Alex\DoctrineExtraBundle\Graphviz\DoctrineMetadataGraph::__construct(  
  ) must be an instance of Doctrine\Common\Persistence\ObjectManager, instance of ContainerQ  
  ce3HPF\EntityManager_9a5be93 given, called in __project_path__\vendor\alexand  
  resalome\doctrine-extra-bundle\Alex\DoctrineExtraBundle\Command\DoctrineMetadataGraphvizCo  
  mmand.php on line 55                            

FluffyDiscord avatar May 25 '21 16:05 FluffyDiscord

Is more Doctrine than Symfony problem. New version of doctrine don't use common lib anymore ... You can probably overide the service called :)

Edit : i'm not the developper, just having same problem on an app.

GothShoot avatar Jun 02 '21 09:06 GothShoot

After search, can't overide easily the service :(

GothShoot avatar Jun 02 '21 09:06 GothShoot

See #20 PR, i search to fix the problem 😄

GothShoot avatar Jun 02 '21 11:06 GothShoot