Issues

ZF-9940: Zend_Paginator get the same Cache Data

Description

File: Zend_Paginator.php Method: protected function _getCacheInternalId() on line 1013 protected function _getCacheInternalId() { return md5(serialize(array( get_class($this->getAdapter()), $this->getItemCountPerPage() ))); }

If the getAdapter() return a Zend_Paginator_Adapter_DbSelect object, it will always be 'Zend_Paginator_Adapter_DbSelect'. So $select->where('type = ?', news) and $select->where('type = ?', 'blog') will have the same cache id.

Comments

Assign this issue to Marco Kaiser. This problem can be closed, since the code has now changed. See my last comment on the issue ZF-6989. You can also look in the trunk: [http://framework.zend.com/code/browse/…]