[DDC-2129] [GH-508] Fix and test for DDC-2073 Created: 06/Nov/12  Updated: 14/Jan/14  Resolved: 12/Nov/12

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.3.1
Security Level: All

Type: Bug Priority: Major
Reporter: Benjamin Eberlei Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None


This issue is created automatically through a Github pull request on behalf of mnapoli:

Url: https://github.com/doctrine/doctrine2/pull/508


Fix and test for DDC-2073(http://www.doctrine-project.org/jira/browse/DDC-2073).

Ticket extract:

> PersistentCollection::matching() always returns empty collection, when passed criteria's expression is created using ExpressionBuilder::isNull()
> 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.

Comment by Matthieu Napoli [ 06/Nov/12 ]

Argh this issue should be closed, I apparently failed linking the pull request to DDC-2073

Comment by Benjamin Eberlei [ 06/Nov/12 ]

A related Github Pull-Request [GH-508] was closed

Comment by Doctrine Bot [ 14/Jan/14 ]

A related Github Pull-Request [GH-508] was closed:

Generated at Tue Dec 01 11:29:33 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.