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

doctrine/orm 2.17.0 and Translatable fetch mode incompatibility #746

Open
alcohol opened this issue Nov 16, 2023 · 0 comments
Open

doctrine/orm 2.17.0 and Translatable fetch mode incompatibility #746

alcohol opened this issue Nov 16, 2023 · 0 comments

Comments

@alcohol
Copy link

alcohol commented Nov 16, 2023

We have been using the following:

parameters:
  doctrine_behaviors_translatable_fetch_mode: 'EAGER'
  doctrine_behaviors_translation_fetch_mode: 'EAGER'

However, this seems incompatible with doctrine/orm 2.17.0, resulting in an exception being thrown:

Associations with fetch-mode=EAGER may not be using WITH conditions in "<RedactedEntity>#translatable".

Maybe consider documenting this or determine if this is worth further investigation?

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

1 participant