I've noticed this issue and others with symfony's doctrine pager and  
will be working on them for 1.3 beta 2.

Thanks for the report,
Kris

On Nov 5, 2009, at 5:44 AM, Maxim Oleinik <[email protected]>  
wrote:

>
> This ticket (http://trac.symfony-project.org/ticket/7455) is still
> buggy for Doctrine with output escaper.
> Where are 2 sfDoctrinePager::getResults() calls:
>  1. sfPager->getIterator() { $this->getResults() }
>  2. template call $pager->getResults()
>
> I think that a best solution is to always cache result in "getResult"
> method, not only for "Doctrine_Core::HYDRATE_ARRAY === $hydrationMode"
> "getResults" method should be called without any arguments. Especially
> when sfPager uses getResults method without arguments.
> If someone wants to set hydration mode, make
> sfDoctrinePager::setHydrationMode method or put hydration mode into
> "init" method as argument.
>
> Max
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to