Skip to content


DDC-2129: [GH-508] Fix and test for DDC-2073 #2816

doctrinebot opened this Issue · 4 comments

2 participants


Jira issue originally created by user @beberlei:

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

Url: #508


Fix and test for 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 created by mnapoli:

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


Comment created by @beberlei:

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


Issue was closed with resolution "Fixed"


Comment created by @doctrinebot:

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

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.3.1 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.