DDC-1557: SimpleSelectExpression does not accept DQL functions #1952

Closed
opened 2026-01-22 13:33:06 +01:00 by admin · 4 comments
Owner

Originally created by @doctrinebot on GitHub (Dec 22, 2011).

Jira issue originally created by user elnur:

SELECT m 
FROM MealBundle:Meal m 
WHERE m.user = :user OR m.user IN (
    SELECT IDENTITY(s.to) 
    FROM SubscriptionBundle:Subscription s 
    WHERE s.from = :user
)

[Syntax Error] line 0, col 82: Error: Expected Doctrine\ORM\Query\Lexer::T_FROM, got '('

Originally created by @doctrinebot on GitHub (Dec 22, 2011). Jira issue originally created by user elnur: ``` SELECT m FROM MealBundle:Meal m WHERE m.user = :user OR m.user IN ( SELECT IDENTITY(s.to) FROM SubscriptionBundle:Subscription s WHERE s.from = :user ) ``` `[Syntax Error] line 0, col 82: Error: Expected Doctrine\ORM\Query\Lexer::T_FROM, got '('`
admin added the Bug label 2026-01-22 13:33:06 +01:00
admin closed this issue 2026-01-22 13:33:06 +01:00
Author
Owner

@doctrinebot commented on GitHub (Dec 29, 2011):

Comment created by @beberlei:

This issue is referenced in Github Pull-Request GH-246
https://github.com/doctrine/doctrine2/pull/246

@doctrinebot commented on GitHub (Dec 29, 2011): Comment created by @beberlei: This issue is referenced in Github Pull-Request GH-246 https://github.com/doctrine/doctrine2/pull/246
Author
Owner

@doctrinebot commented on GitHub (Dec 29, 2011):

Comment created by @beberlei:

Related Pull Request was closed: https://github.com/doctrine/doctrine2/pull/246

@doctrinebot commented on GitHub (Dec 29, 2011): Comment created by @beberlei: Related Pull Request was closed: https://github.com/doctrine/doctrine2/pull/246
Author
Owner

@doctrinebot commented on GitHub (Dec 29, 2011):

Comment created by @guilhermeblanco:

Fixed in e43897916a

@doctrinebot commented on GitHub (Dec 29, 2011): Comment created by @guilhermeblanco: Fixed in https://github.com/doctrine/doctrine2/commit/e43897916a001b6fe9cd8df27d6c9c272f41c854
Author
Owner

@doctrinebot commented on GitHub (Dec 29, 2011):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Dec 29, 2011): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1952