Skip to content

Loading…

DDC-1346: Error when referencing aliased sub-select in where clause #1963

Closed
doctrinebot opened this Issue · 5 comments

2 participants

@doctrinebot

Jira issue originally created by user darkangel:

Example:
\
```$qb->addSelect('(SELECT COUNT(tp2) FROM TeamPlayer tp2 WHERE tp2.team = t) AS test');

$qb->andWhere('test > 3');```

[Semantical Error] line 0, col 186 near 'test > 3 ORDER': Error: 'test' does not point to a Class.

@doctrinebot

Comment created by @beberlei:

Assigned to Guilherme

@doctrinebot

Comment created by @guilhermeblanco:

Fixed since commit 6bbf2d9

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot

Comment created by @beberlei:

Merged into 2.1

@doctrinebot

Comment created by @beberlei:

Merged into 2.1.x

@doctrinebot doctrinebot added this to the 2.1.3 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.