Relationship actions block has strange caching issue, gets "stuck"

gallamine - May 10, 2009 - 00:19
Project:User Relationships
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:alex.k
Status:duplicate
Description

I have tried both the 6.x-1.0-beta10 and the 6.x-1.x-dev releases of UR and they have the same problem.

If I'm logged in as the administrator things work fine, and the UR actions block shows the appropriate action links for the node's creator. However, when I'm logged in as another user, the actions block gets "stuck" on actions for one specific user. No matter what I view, it stays the same, until I clear the cache. Once the cache is cleared, it displays the correct actions once, and then get "stuck" on that from then on. It's almost as if the actions block is being cached and not ever changed.

To be clear, if I'm logged in as someone other than Admin, and I view content by UserA first, the actions block displays the appropriate actions towards UserA. However, for any subsequent nodes I view the actions remain those actions for UserA, until I clear the cache. Once the cache is cleared, the process repeats.

Any thoughts?

#1

jay k - May 13, 2009 - 10:16
Assigned to:Anonymous» jay k

#2

gallamine - June 25, 2009 - 17:59

Any progress on this? I've tried the latest dev. version of FL and it still does this.
I've also noticed that on the 2nd page view after a cache clear, the following two lines of HTML aren't included in the page header. i.e. the follow lines only get loaded on the first page view after a cache clear, and on subsequent page views, they aren't loaded:

<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/popups/popups.css?b" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/popups/popups-skin.css?b" />

#3

gallamine - June 25, 2009 - 19:55

If I disable "block cache" under "settings/performance" then it appears to work ok. But, since my site has mostly authenticated users, I need block caching! Thoughts on getting the block to with with caching?

#4

alex.k - June 26, 2009 - 10:34
Assigned to:jay k» alex.k

One sec... is it a UR or FL issue?

#5

gallamine - June 26, 2009 - 15:26

Doh! So I was having this issue with UR, then switched to FL and I'm having the same issue. Sorry for the confusion! That last two posts should have been in the Friendlist issue queue, not this one. Sorry.

#6

alex.k - June 28, 2009 - 22:06
Status:active» duplicate

As far as UR it's a duplicate of #465752: drupal_rebuild_theme_registry required for block display

 
 

Drupal is a registered trademark of Dries Buytaert.