mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2341: [GH-606] Don't add empty Expr to another one #2943
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Mar 8, 2013).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
This issue is created automatically through a Github pull request on behalf of jean-gui:
Url: https://github.com/doctrine/doctrine2/pull/606
Message:
Doctrine should not allow to add an empty Expr to another one. Current code allows that, which can lead to wrong DQL.
Example 1:
will output:
instead of:
Example 2:
will output:
instead of nothing.
IRC log of the discusion on #doctrine:
@doctrinebot commented on GitHub (Mar 12, 2013):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Mar 12, 2013):
Comment created by @beberlei:
A related Github Pull-Request [GH-606] was closed
https://github.com/doctrine/doctrine2/pull/606
@doctrinebot commented on GitHub (May 13, 2014):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-606] was closed:
https://github.com/doctrine/dbal/pull/606