mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1530: HIDDEN values cannot be used in WhereClause #1920
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 (Dec 12, 2011).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user @guilhermeblanco:
Is broken. Error:
On a query like:
@doctrinebot commented on GitHub (Dec 20, 2011):
Comment created by @guilhermeblanco:
Updating fix version
@doctrinebot commented on GitHub (Jan 9, 2012):
Comment created by craue:
It occurs even if the value is not HIDDEN.
@doctrinebot commented on GitHub (Jan 10, 2012):
Comment created by @beberlei:
@Christian this sounds like a completly different error, please explain why you think this belongs here or open a new ticket.
@doctrinebot commented on GitHub (Jan 10, 2012):
Comment created by craue:
Benjamin: Because I get exactly the same error message regardless of using HIDDEN. So HIDDEN doesn't seem to be liable here.
@doctrinebot commented on GitHub (Jan 10, 2012):
Comment created by @beberlei:
Can you paste your DQL and SQL?
@doctrinebot commented on GitHub (Jan 10, 2012):
Comment created by craue:
Code:
DQL:
SQL:
@doctrinebot commented on GitHub (Jan 11, 2012):
Comment created by @beberlei:
That is expected behavior, ANSI SQL defines SELECT to be evaluated AFTER WHERE.
DQL has a HAVING clause as well, not sure it works without the group by. Please try.
@doctrinebot commented on GitHub (Jan 21, 2012):
Comment created by craue:
So we might just close this issue then?
@doctrinebot commented on GitHub (Jan 25, 2012):
Comment created by @beberlei:
Its not a bug, just the error message is supposed to be improved (if possible) in a cheap way.
@malukenho commented on GitHub (Jan 5, 2017):
@Ocramius @guilhermeblanco can be closed as invalid?