$datasPager = Model\IdentiteQuery::create()
->select(array('Ipp', 'NomNaissance', 'Prenom', 'DateNaissance', 'CreatedAt', 'UpdatedAt'))
And what I get:
An exception has been thrown during the rendering of a template ("Notice: Undefined offset: 6 in
/home/mailloud/workspace/referentiels/src/Pmsipilot/ReferentielsBundle/Model/om/BaseIdentite.php line 1250") in
ReferentielsBundle:Data:data.html.twig at line 21.
Using the method "select" with the "paginate" one cause that exception.
It used to work and I don't know when it started to misfunction.
Works for me. Could you provide a unit test that shows the bug using the Propel fixtures?
Add unit tests for paginate() used together with select()
No exception in the unit test I posted.
I didn't remember the case, I should have note it, so I think we can easily declared that it's working.
I just remember that it was with the PropelBundle, but maybe I made a mistake at the time.
Too old for me for giving you much details.
Ok, then I leave the issue closed since the unit tests pass.