[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


 Description   

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

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

Message:

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.



 Comments   
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
https://github.com/doctrine/doctrine2/pull/508

Comment by Doctrine Bot [ 14/Jan/14 ]

A related Github Pull-Request [GH-508] was closed:
https://github.com/doctrine/dbal/pull/508

Generated at Thu Apr 24 08:28:03 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.