Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.
This repository was 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

@snebes

Description

@snebes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions