beberlei/DoctrineExtensions — Issue #73: Message : No ids given, cannot create where in query in this case.
Author: booradleys
Created: 2012-03-08 12:48:45+00:00
State: open

Hi there,
I'm using Doctrine 2.1.6
An error occurs when no rows returned:

#0 /DoctrineExtensions/Paginate/PaginationAdapter.php(181): DoctrineExtensions\Paginate\Paginate::createWhereInQuery(Object(Doctrine\ORM\Query), Array, 'pgid')
#1 /DoctrineExtensions/Paginate/PaginationAdapter.php(142): DoctrineExtensions\Paginate\PaginationAdapter->createWhereInQuery(Array)
#2 /Zend/Paginator.php(784): DoctrineExtensions\Paginate\PaginationAdapter->getItems(0, 30)
#3 /Zend/Paginator.php(613): Zend_Paginator->getItemsByPage(1)
#4 /Zend/Paginator.php(810): Zend_Paginator->getCurrentItems()
#5 /application/modules/candidat/views/scripts/catalogue/liste.phtml(32): Zend_Paginator->getIterator()

David