mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1221: Fatal Error when building a query using ->add() instead of ->from() #1536
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 (Jun 21, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user stof:
When creating a query using
$qb->add('from', ...)instead of$qb->from(...)a fatal error is thrown when building the DQL query line 989 of the QueryBuilder because this line assumes it has aDoctrine\ORM\Query\Expr\Frominstance whereas it gets a string.Note that a similar issue was fixed for
$qb->getRootAlias: http://www.doctrine-project.org/jira/browse/DDC-1140@doctrinebot commented on GitHub (Jun 21, 2011):
Comment created by stof:
Note that this issue has been introduced by
905e05cd36@doctrinebot commented on GitHub (Jun 25, 2011):
Comment created by @beberlei:
This is fixed, thanks for reporting this regression.
@doctrinebot commented on GitHub (Jun 25, 2011):
Issue was closed with resolution "Fixed"