mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2061: Matching Criteria on a PersistentCollection only works on OneToMany associations #2596
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 (Oct 8, 2012).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user terjeb:
What is needed to make it also work for ManyToMany associations?
May be a better fallback would be do an ArrayCollection->matching() instead of just giving a runtime exception?
Is this something that is difficult to implement?
@doctrinebot commented on GitHub (Apr 16, 2014):
Comment created by @guilhermeblanco:
This is already possible on 2.5 branch (dev-master for now).
Tracked commit history and found this commit hash as the one that allowed this:
160b07d1e3@doctrinebot commented on GitHub (Apr 16, 2014):
Issue was closed with resolution "Fixed"