mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3286: Error: Expected Literal, got ')' #4067
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 (Aug 29, 2014).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user bilou:
Hello there,
I'm having this bug when running a query on my view:
{quote}
[Syntax Error] line 0, col 68: Error: Expected Literal, got ')'
{quote}
And I know where it comes from and why but I couldn't fix it so far.
Actually, my query on my view has this condition
{quote}
$qb->andwhere($qb->expr()->eq(
'view.someColumn',
$qb->expr()->literal('hi')
))
{quote}
Sometimes, my views doesn't contain the column "someColumn" at all, in which case I got the bug below.
How can I do to fix it?
@doctrinebot commented on GitHub (Aug 29, 2014):
Comment created by bilou:
Ooops, the problem isn't as I said I just realized it. Sorry about that
@doctrinebot commented on GitHub (Aug 30, 2014):
Issue was closed with resolution "Invalid"