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

[2.8.0] Container compilation fails if symfony/doctrine-messenger is not used #1601

Closed
gndk opened this issue Dec 29, 2022 · 0 comments
Closed
Labels
Milestone

Comments

@gndk
Copy link
Contributor

gndk commented Dec 29, 2022

After upgrading from 2.7.2 to 2.8.0 (with symfony 6.2), container compilation fails:

In AbstractRecursivePass.php line 170:
                                                                               
  Invalid service "messenger.transport.doctrine.factory": class "Symfony\Comp  
  onent\Messenger\Bridge\Doctrine\Transport\DoctrineTransportFactory" does no  
  t exist.         

This is caused by #1586 removing the checks here.

We use Symfony Messenger, but not the Doctrine transport. This use case should be allowed, as the Doctrine transport became optional in Symfony 6.0.

Just because symfony/messenger is used, does not mean that symfony/doctrine-messenger is also used.

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

Successfully merging a pull request may close this issue.

2 participants