mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1255: Can't add instance of Andx to QueryBuilder through andWhere #1579
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 (Jul 6, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user ishenkoyv:
$this->_query->andWhere($where) thows the \InvalidArgumentException("Expression of type '$class' not allowed in this context.") at ORM/Query/Expr/Base.php : 64 as $_allowedClasses of ORM/Query/Expr/Andx.php doesn't contains Doctrine\ORM\Query\Expr\Andx
$this->_query instance of Doctrine\ORM\QueryBuilder
$where instance of Doctrine\ORM\Query\Expr\Andx
(string) $where - string '(network_hard_node_hdd.size >= '500') AND (network_hard_node_hdd.size <= '3400')' (length=80)
@doctrinebot commented on GitHub (Jul 6, 2011):
@doctrinebot commented on GitHub (Jul 12, 2011):
Comment created by @beberlei:
Duplicate of DDC-1260
@doctrinebot commented on GitHub (Jul 12, 2011):
Issue was closed with resolution "Duplicate"