Postponed (maintainer needs more info)
Project:
NodeReferrer
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 May 2010 at 10:30 UTC
Updated:
21 Sep 2010 at 23:38 UTC
Hi,
I'm using the nodereferrer module and realize that it respects node access rights on node load, which is cool, but anyhow the content seems to be cached and so only built once... When I visit the page with admin rights some nodes are missing until I clear the cache, even in the node load (from devel)... I read the "to do" statement at the beginning of the module, but I thougt perhaps you have some hints, because I need it pretty urgent...
Thank you!
Comments
Comment #1
kris digital commentedOk, because it is urgent I just put
in hook_nodeapi()
Comment #2
andypostOverkill!!! could you provide a steps to reproduce?
Comment #3
kris digital commentedThe problem was, that the node referrer links were only built once, when the page was viewed first. Then the links where written in the cache. If another user role viewed the page, he got the cached page, even if he should have seen other links because he had more or less access rights... So I ended up clearing the cache each time the page was loaded...
I think there are workarounds on the theming side, but I used it via webservice, so that above was the solution for me...