ZF-11668: Zend_Paginator still buggy in release-1.11.7

Issue Type: Bug Created: 2011-08-15T13:30:12.000+0000 Last Updated: 2012-03-12T01:07:06.000+0000 Status: Closed Fix version(s): Reporter: Peter Culak (fr0z3nk0) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Paginator

  • paginator

Related issues: - ZF-6989



Zend_Paginator still buggy in release-1.11.7 (using version from svn tag).

When cacheing enabled:

I think what's happening is: when saving result to cache _getCacheInternalId uses select object to generate id. This select object does have LIMIT and OFFSET set (Zend_Paginator line 788 adds that to select). Later when paginator tries to get results from cache _getCacheInternalId returns different id because it does not contain LIMIT and OFFSET.

Also it seems that adding profiler is causing select object to be different on every request due to adding microtimes to certain properties so I'm not sure whether this has been fixed already but it seems it's still an issue in 1.11.7




Posted by Adam Lundrigan (adamlundrigan) on 2012-03-12T01:07:06.000+0000

Duplicate of ZF-6989, which has been reopened.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.