-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DDC-3336: Undefined property: Doctrine\ORM\Query\AST\SimpleArithmeticExpression::$field #4133
Comments
Comment created by darkangel: Changed this to critical. It's also screwing up ordering, for example:
The paginator doesn't order the data correctly unless I remove the 2nd order by (tp.memberFrom ASC). The generated SQL from the QB/DQL is correct, so the paginator must be messing something up. |
Comment created by @Ocramius: Need a test case in order to verify the issue |
Comment created by darkangel: Okay, try this:
This is simplified, the actual query works with field values, like this:
This causes the first issue. |
Comment created by darkangel: The second issue is explained by Guilherme Santos. |
Comment created by @Ocramius: The first comment goes to a new issue. |
Issue was closed with resolution "Fixed" |
Comment created by @doctrinebot: |
Comment created by @doctrinebot: |
Jira issue originally created by user darkangel:
I upgraded from 2.4.1 to 2.4.4, and now I'm seeing this notice here & there:
{quote}Undefined property: Doctrine\ORM\Query\AST\SimpleArithmeticExpression::$field in /*/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php on line 200{quote}
This seems to be in a method with the description "Generates new SQL for Postgresql or Oracle if necessary." ... but we're on MySQL (Percona).
The text was updated successfully, but these errors were encountered: