Needs review
Project:
Views content cache
Version:
7.x-3.0-alpha3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2017 at 14:52 UTC
Updated:
20 Mar 2019 at 22:47 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
vivekag commented+1
Comment #3
yuraosn commentedI have the same problem, the same content is output when pagination and when using the "views_infinite_scroll"
Comment #4
yuraosn commentedThe problem is revealed:
- download views
- a key is generated to create the cache from the arguments set in the views
- The cache is saved under this key.
- go to another page in the pagination
- a key is generated from the arguments set in the views
- the key does not get the argument of the page number of the pagination - so the old cache views is loaded and therefore the same thing is loaded.
"Views_infinite_scroll" loads in the same way using pagination, so also as pagination does not work.
Fix this problem, create a patch.
!!! Pay attention to the fact that my module is in the folder ".../contrib/..." so the path with the patch may need to be changed.
Comment #5
yuraosn commentedComment #7
summit commentedHi,
This seems to work. Ok to set it to next phase?
greetings, Martijn
Comment #8
glynster commented+1 this patch works a treat. We need to get this committed!
Comment #9
yuraosn commentedComment #10
teknikqaCorrected patch so that it applies properly
Comment #11
teknikqaComment #12
summit commentedHi, I see that this patch is committed in dev!
greetings, Martijn
Comment #13
summit commentedComment #14
teknikqaThis has not been committed. This patch is required to fix the pagination issue.
I have been using this successfully on a couple of sites. But I would prefer a second set of eyes to review it.
I'm reverting the status to Needs Review.
Comment #15
glynster commented@teknikqa we have been using this in production and it sorted the issue for us. RTBC +1 please!