Closed (fixed)
Project:
Recently Read
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Sep 2018 at 15:07 UTC
Updated:
23 Jun 2025 at 17:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
aalin commentedComment #3
aalin commenteda more generic patch, to disable the cache only when the service 'recently_read' is used
Comment #4
nkoporecLatest patch doesn't apply. Marking it as needs work.
Comment #5
afi13 commentedComment #6
afi13 commentedComment #7
jeroentWhat about keeping Drupal caching intact and using javascript to add a record. Just like the statistics module in core.
Comment #8
eric.vvf commentedJust a small change on @JeroenT's patch:
to
Adds '#' so it will be used as meta.
Comment #9
bzoks commentedI rerolled patch #8 to 8.x-1.x-dev (it applied cleanly only on released 8.x-1.x).
It seems to work OK.
Comment #10
strozx commentedTested and it appears to work
Comment #11
marysmech commentedI was unable to apply patch #9 with latest develop. So I just reformated patch from #9 with latest develop. After reformatting everything seems to work nicely.
Comment #13
nkoporecTests are failing + need's a re-roll.
Comment #14
boshtian commentedI'm looking at this issue and would like to go back to the initial solution of fixing this without changing the way visits are saved.
I'm not saying, that the Javascript approach is bad, I just don't think it's ready, because we currently don't have a fallback for users with javascript disabled. I would rather open a separate issue for moving things to javascript (and discuss the correct approach there) and leave this open if anyone wants to add a patch for existing codebase.
Comment #15
jjtoyas commentedDisable cache for "full" view mode, without JavaScript.
Comment #16
jjtoyas commentedComment #17
nmatja commentedI have tested the patch. The patch fixes the problem and it's working without any problems. I spotted and fixed some minor code standards issues.
Comment #19
boshtian commentedComment #21
kazajhodo commentedWHOOPS, don't use this, it has a yml syntax error. Worked locally but not on the server. I can't edit the file, so I'm uploading a new one I guess.
-----
Not exactly sure how I'm supposed to submit this, I see everyone is submitting patch files, so I'll just do that.
This is a reroll of 0001-Use-js-to-add-recently-read-record-on-node-detail.patch against the dev. Had a big site where the caching was broken, found the patch and rerolled it.
Comment #22
kazajhodo commentedComment #23
kazajhodo commentedOk, I think this one is good.
A reroll of #11 by @marysmech.
Comment #24
kazajhodo commentedReroll for for 1.5.