Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

2.8 _getCacheInternalId() is too generic #41

Open
@richard-parnaby-king

Description

@richard-parnaby-king

In Zend\Paginator\Paginator::_getCacheInternalId() (lines 863 - 871) the md5 hash of the adaptor being generated matches all adaptor instances. The issue is on line 868:

. json_encode($this->getAdapter())

This sucker is returning '{}' for all my table adaptors (adaptor being supplied is Zend\Paginator\Adapter\DbSelect).

I don't understand the reason for replacing spl_object_hash, but I do ask how do I get my paginator instances working again?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions