[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 | ||
| Description |
|
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" |
| Comments |
| 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) |