mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3016: Criterias do not work with embeddables when matching in memory #3746
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Mar 7, 2014).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user mnapoli:
When using criterias and doing the matching on a collection already loaded in memory, it will not work if filtering on embeddable objects.
Example:
Here the ClosureExpressionVisitor will try to get the property named
->actions.viewinstead of->actions->view.@doctrinebot commented on GitHub (May 22, 2014):
Comment created by mnapoli:
I have opened a PR with a potential fix: https://github.com/doctrine/collections/pull/27