Under admin/settings/globalredirect is an option "Menu access checking."

When this is enabled, global redirect checks if the user has access to the path and will run _menu_check_access, which eventually runs the wildcard loader functions for the particular item.

However, certain contrib modules such as http://drupal.org/project/og_forum have wildcard loaders which assume certain data exist in $user, e.g. $user->og_groups.

If the weight of Global Redirect too low, these data won't be populated before globalredirect_init() runs, and the wildcard loaders will fail.

CommentFileSizeAuthor
#1 globalredirect-720416.patch1.25 KBc4rl
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

c4rl’s picture

Status: Active » Needs review
FileSize
1.25 KB

The attached patch sets the weight to 9999 such that globalredirect_init() will occur very late.