Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 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
@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.