[DDC-2144] PersistentCollection Criteria IS NULL not behaving as expected Created: 14/Nov/12  Updated: 14/Nov/12  Resolved: 14/Nov/12

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: ORM
Affects Version/s: 2.3
Fix Version/s: 2.3.1

Type: Bug Priority: Major
Reporter: Aitor Suso Assignee: Benjamin Eberlei
Resolution: Invalid Votes: 0
Labels: None


When using the matching method of a persistentCollection with a Criteria that contains a call to isNull, the SQL generated contains "field = null" instead of "field IS null"

Comment by Aitor Suso [ 14/Nov/12 ]

Seen that the code is fixed in the 2.3 branch, but it isn't in the last stable release (2.3.0)

Generated at Tue Nov 24 19:13:07 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.