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

Fixes paginator cache, problem with the generation of cacheInternalId #33

Merged
merged 4 commits into from
Nov 1, 2017

Conversation

rwrz
Copy link

@rwrz rwrz commented May 25, 2017

This fix also fixes a future problem with complex Adapters that cannot be serializable.
fixes #1 , joined the #24 and part of #30 , and included tests for both.
Also, improved the method to get cacheInternalId to accept inherited adapter as well, without considering those the same adapters.

Rodrigo Boratto added 4 commits May 25, 2017 11:05
…nerate the Internal Id. This fix also fixes a future problem with complex Adapters that cannot be serizable.
@rwrz
Copy link
Author

rwrz commented May 25, 2017

@weierophinney I have fixed this cache problem, but Travis isn't working because there is a problem with a Trait in ServiceManager... and a problem with HHVM on unserialize function, but those problems aren't related to this fix. I tried to figure it out the HHVM problem, but couldn't.

@FabianKoestring
Copy link

Having the same problem! @rwrz still working on this?

@weierophinney
Copy link
Member

@rwrz The build failures are due to an issue with the upstream zend-servicemanager library when using the latest version (essentially, a trait used in testing within this library is provided by that component, but it uses a newer PHPUnit version). I'll try and address that, and then merge this patch.

@weierophinney weierophinney merged commit 5fe5977 into zendframework:master Nov 1, 2017
weierophinney added a commit that referenced this pull request Nov 1, 2017
Fixes paginator cache, problem with the generation of cacheInternalId

Conflicts:
	src/Paginator.php
weierophinney added a commit that referenced this pull request Nov 1, 2017
weierophinney added a commit that referenced this pull request Nov 1, 2017
weierophinney added a commit that referenced this pull request Nov 1, 2017
@weierophinney
Copy link
Member

Thanks, @rwrz!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Paginator cache will always miss unless in the same runtime
4 participants