I'm attaching an image so you can see how the "Configure block" is visible for anonymous users. When you click on it though, it tell you access denied. The bizarre thing is that when I login, the link goes away. Notice however, that the link only shows on the top 2 right side blocks.

Is this a bug or am I missing something? I've been using Drupal since 2008 and this one got me scratching my head!

CommentFileSizeAuthor
2-2-2011_block.png48.5 KBCompShack

Comments

Jeff Burnz’s picture

Ouch, its got me pulling my hair out also... working on it. Very weird.

Jeff Burnz’s picture

Hmmm, very frustrating issue - at first I could reproduce this simply be enabling the forum blocks, however after fiddling around a bit suddenly those links stopped appearing.

The last thing I did before they went away was to change one of the theme settings - under development I enabled extra classes for blocks. However even if I turn this back off again the issue does not reappear, so I am not convinced this has anything to do with it. Can you try this please to see if it works for you (I doubt it but worth a shot).

Will keep digging on this.

CompShack’s picture

Jeff,

I fired up my localhost site to try the change you've requested and before doing anything I looked at the forum blocks and they were looking just fine!!

Last thing i remember last night was getting frustrated and shutting down to head to bed. And now, they are gone!

Don't know what else to say but this doesn't seem to be a problem anymore. Weird! I guess we can close this issue and I can re-open it if it comes back again.

Jeff Burnz’s picture

Freaking frustrating bug, I'll leave this open in case anyone else stumbles accross this, frankly I think its a bug in Drupal core somewhere, I just can't see how this theme could affect these links - I mean the access controls are being circumvented for display only, which is really odd, I would think the contextual links module should be handling all access controls, I couldn't really find anything strange in Forum module. Lets see if anyone else comes up with something.

john_b’s picture

same problem in these same Forum Recent and Active post blocks (and no others) on Genesis theme for Drupal 7. Disappears if I switch to Fusion. It just appeared. In the meanwhile I had installed then removed Multiblock module. Does not show for logged-in users. Clearing Caches does not help.

source (see page source) is

the drastic step of reinstalling Forum and Advanced Forum did not fix it.

EDIT

It is nearly 2am. The problem in the above post from a few hours ago has vanished.... Contextual links are not working for the affected blocks. I can live with that.

EDIT

9am, the problem is back - 'Configure block' text link for anonymous user, and contextual links with 'Configure block' for admin, have both reappeared on the affected blocks. The issue does not affect all theme but does affect others, from what I can see, and what I read: http://www.drupalgardens.com/content/configure-block-link-showing-uninvited

john_b’s picture

The unwanted link on link came back when Genesis theme was reconfigured, then vanished again (as did contextual links for admin on affected blocks). I suspect a cache (maybe CTools cache?) is not getting cleared reliably. The issue only ever affects Advanced Forum custom views.

Cameron Little’s picture

The same thing is happening to me. Weird thing is, it's showing up at on random blocks and seems to be switching around a bit as I work on the site.

achton’s picture

Seems to be a problem with Drupal core and caching: http://drupal.org/node/914382

Jeff Burnz’s picture

Status: Active » Closed (duplicate)

OK, looks like this is duplicate of #914382: Contextual links incompatible with render cache, hopefully that gets in before the next point release of D7.