mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2073: PersistentCollection::matching() always returns empty collection, when passed criteria's expression is created using ExpressionBuilder::isNull() #2612
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 12, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user pauci:
This happens because expression created by ExpressionBuilder::isNull() is wrongly translated to SQL using '=' operator instead of 'IS NULL'.
If the collection is already loaded, result is as expected.
@doctrinebot commented on GitHub (Nov 6, 2012):
Comment created by mnapoli:
Pull request: https://github.com/doctrine/doctrine2/pull/508
@doctrinebot commented on GitHub (Nov 12, 2012):
Issue was closed with resolution "Fixed"