Issues

ZF-11242: Zend_Paginator + Cache + Adapters DbSelect or DbTableSelect

Issue Type: Bug Created: 2011-03-29T17:44:09.000+0000 Last Updated: 2011-03-29T17:44:09.000+0000 Status: Open Fix version(s): Reporter: Yuriy Chernichenko (nikosid) Assignee: Jurrien Stutterheim (norm2782) Tags: - Zend_Paginator

Related issues: Attachments:

Description

I have read here http://framework.zend.com/issues/browse/ZF-8731 - fixed with r22302 I do not understand. Does not work! I use a simple way: $paginator = Zend_Paginator::factory($select); Zend_Paginator::setCache($cache); My $select it Zend_Paginator_Adapter_DbSelect or Zend_Paginator_Adapter_DbTableSelect But when i call $paginator->getCurrentItems(), the method getItemsByPage() twice made the call $this->_getCacheId($pageNumber) (read and write cache), but the second time is called after calling $this->_adapter->getItems(), which changes _adapter, and key cache is formed from the adapter. Are you sure that now everything is working correctly?

I'm using framework version 1.11.4 Thank you for help or explanation

Comments

No comments to display

Have you found an issue?

See the Overview section for more details.

Copyright

© 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.

Contacts