Skip to content


DDC-1935: Not all identifier properties can be found in the ResultSetMapping: id #2605

doctrinebot opened this Issue · 3 comments

2 participants


Jira issue originally created by user dquintard:

$qb1 = $em->createQueryBuilder()->select('');
$query1 = $qb1->getQuery();

$doctrinePaginator = new \Doctrine\ORM\Tools\Pagination\Paginator($query1);
$doctrinePaginator->count(); => generate error

But works fine with $query2 !

$qb2 = $em->createQueryBuilder()->select('c');
$query2 = $qb2->getQuery();

$doctrinePaginator = new \Doctrine\ORM\Tools\Pagination\Paginator($query2);
$doctrinePaginator->count(); => no error


Comment created by @beberlei:

Duplicate of DDC-1927


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.