mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-229: Changeset 6982 breakage #285
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 27, 2009).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user romanb:
http://trac.doctrine-project.org/changeset/6982/
The new processDeferredExpressionsStack does not look good. It processes all expressions. Previously, each (sub)query had its own stack.
Now, when you do sth like this: "select u, (select max(o.id) from Other o) maxId from User u" you will trigger all validations at the end of the subquery. 'u' will be validated but is still undefined.
Please explain why the old behavior with one stack for each (sub)query was not preserved.
Also, things like
lead to very fragile (bad) code.
@doctrinebot commented on GitHub (Dec 27, 2009):
Comment created by @guilhermeblanco:
Just a little mis-comprehension of the new way I've build expressions validations.
Resolving ticket.
@doctrinebot commented on GitHub (Dec 27, 2009):
Issue was closed with resolution "Fixed"