DDC-1255: Can't add instance of Andx to QueryBuilder through andWhere #1865

Closed
doctrinebot opened this Issue Jul 6, 2011 · 3 comments

2 participants

@doctrinebot

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 '(networkhard_node_hdd.size >= '500') AND (network_hard_nodehdd.size <= '3400')' (length=80)

@doctrinebot

Comment created by @beberlei:

Duplicate of DDC-1260

@doctrinebot

Issue was closed with resolution "Duplicate"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment