DDC-3067: [GH-999] DDC-3065 null value in in criteria support #3806

Closed
opened 2026-01-22 14:28:19 +01:00 by admin · 5 comments
Owner

Originally created by @doctrinebot on GitHub (Apr 3, 2014).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @doctrinebot:

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

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

Message:

See DDC-3065 (http://www.doctrine-project.org/jira/browse/DDC-3065)

This MAY be a breakage, since the following API now works as expected:

$repository->findBy(['fieldName' => [null]]);
$repository->findBy(['fieldName' => [123, null]]);

Where before, null was just ignored

Originally created by @doctrinebot on GitHub (Apr 3, 2014). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of Ocramius: Url: https://github.com/doctrine/doctrine2/pull/999 Message: See [DDC-3065](http://www.doctrine-project.org/jira/browse/DDC-3065) (http://www.doctrine-project.org/jira/browse/[DDC-3065](http://www.doctrine-project.org/jira/browse/DDC-3065)) This **MAY** be a breakage, since the following API now works as expected: ``` php $repository->findBy(['fieldName' => [null]]); $repository->findBy(['fieldName' => [123, null]]); ``` Where before, `null` was just ignored
admin added the Bug label 2026-01-22 14:28:19 +01:00
admin closed this issue 2026-01-22 14:28:19 +01:00
Author
Owner

@doctrinebot commented on GitHub (Apr 3, 2014):

@doctrinebot commented on GitHub (Apr 3, 2014): - is required for [DDC-3065: Generated 'IN' clause doesn't handle 'null' values (needs to add 'IS NULL' check)](http://www.doctrine-project.org/jira/browse/DDC-3065)
Author
Owner

@doctrinebot commented on GitHub (Apr 3, 2014):

Comment created by @doctrinebot:

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

@doctrinebot commented on GitHub (Apr 3, 2014): Comment created by @doctrinebot: A related Github Pull-Request [GH-998] was closed: https://github.com/doctrine/doctrine2/pull/998
Author
Owner

@doctrinebot commented on GitHub (Apr 17, 2014):

Comment created by @FabioBatSilva:

Closed, see : https://github.com/doctrine/doctrine2/pull/998

@doctrinebot commented on GitHub (Apr 17, 2014): Comment created by @FabioBatSilva: Closed, see : https://github.com/doctrine/doctrine2/pull/998
Author
Owner

@doctrinebot commented on GitHub (Apr 17, 2014):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Apr 17, 2014): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Apr 21, 2014):

Comment created by @doctrinebot:

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

@doctrinebot commented on GitHub (Apr 21, 2014): Comment created by @doctrinebot: A related Github Pull-Request [GH-999] was closed: https://github.com/doctrine/doctrine2/pull/999
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3806