LexikFormFilterBundle icon indicating copy to clipboard operation
LexikFormFilterBundle copied to clipboard

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

Open snebes opened this issue 5 years ago • 0 comments

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.

snebes avatar Sep 25 '19 01:09 snebes