Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

doctrine/orm v2.6.4 has issues with using ChoiceFilterType with objects #318

Open
snebes opened this issue Sep 25, 2019 · 0 comments
Open

Comments

@snebes
Copy link
Collaborator

snebes commented Sep 25, 2019

When using the built in ChoiceFilterType with a list of objects, such as doctrine-managed entities, the parameter is no longer converted properly. The updated querybuilder will not return results as expected, as the object class name is used as a parameter in the generated SQL, rather than the entity id.

The effective change is across these lines in doctrine/orm:

https://github.com/doctrine/orm/pull/7528/files#diff-81228a4fb4c82b292a152dd3e1a40becL390-L442

Specifically line 436.

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

No branches or pull requests

1 participant