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)
Comment created by @beberlei:
Duplicate of DDC-1260
Issue was closed with resolution "Duplicate"