Custom Breadcrumb option causes Access Denied in OG Forums

ptoly - November 9, 2009 - 16:43
Project:Custom Breadcrumbs
Version:6.x-2.x-dev
Component:custom_breadcrumbs
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I have OG Forums 6.x-2.x-dev (2009-Oct-14) installed on a multi site setup.
On the main site I don't see any problems.
However on the sub site only admin roles can get access, everyone else gets access denied when Custom Breadcrumbs are turned on.

I stepped through the modules (shutting off one by one) and it happens consistently when the main custom breadcrumbs module is turned on.

There is a similar issue on the OG Forums issues, having to do with menu_breadcrumbs: http://drupal.org/node/549542

#1

MGN - November 10, 2009 - 01:35

What custom breadcrumb configuration settings are you using (with only the base custom breadcrumbs module enabled)?

Do you have the problem when "Set the Home breadcrumb text on all pages" and "Use the menu structure to set the breadcrumb trail" options are disabled?

#2

MGN - November 10, 2009 - 01:39
Status:active» postponed (maintainer needs more info)

#3

ptoly - November 10, 2009 - 13:55

I was using API, Panels, Paths, Taxonomy, and Views (in other words, all of them).

That's what I meant when I said I stepped through all of them. I shut them off, one by one, and checked to see if I continued to get the access denied, which I did.

Settings:
Use the menu structure to set the breadcrumb trail - NO
Set the Home breadcrumb text on all pages - YES

NOW we are making headway :)

When I shut off the Set the Home breadcrumb text on all pages = NO, I stop getting the access denied!

#4

MGN - November 10, 2009 - 17:40
Title:Custom Breadcrumbs causes Access Denied in OG Forums» Custom Breadcrum causes Access Denied in OG Forums
Status:postponed (maintainer needs more info)» active

Ok, so this is the same error as reported for menu breadcrumbs, originating with the use of hook_init to set the home breadcrumb on all pages. Right now, I don't have a fix for this, so don't use the option if you need og forum. I'll try to find another hook that could accomplish the same purpose without the unintended side affect.

#5

MGN - November 10, 2009 - 17:41
Title:Custom Breadcrum causes Access Denied in OG Forums» Custom Breadcrumb option causes Access Denied in OG Forums

fixing the title

#6

ptoly - November 11, 2009 - 21:32

Thank you!

 
 

Drupal is a registered trademark of Dries Buytaert.