DDC-3031: ORM does not understand constants in SELECT clause #3800

Closed
doctrinebot opened this Issue Mar 15, 2014 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user cream_cheeze:

It seems that doctrine do not understand constants in SELECT clause.
I try to execute such a query:

SELECT e.id, 'abc' as flag FROM SomeEntity

And I get this error:

[Semantical Error] line 0, col 40 near 'parent, p.weight,': Error: Invalid PathExpression. Must be a StateFieldPathExpression.

There was an issue like this a long time ago: DDC-1077. It's written that it was Resolved, but it does not work.

@doctrinebot

Comment created by cream_cheeze:

Sorry, that was my mistake. It works fine!

@doctrinebot

Issue was closed with resolution "Invalid"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment