It's probably debatable if this is a bug, but here it is:

I have the user login block set to show on node/add/* pages. The block appears when using Drupal's built-in Access Denied page (i.e. nothing set in the Error reporting settings).

But when I use a custom error, either a real node or the page from this module, the block no longer appears.

This patch adds:

menu_set_active_item($_REQUEST['q']);

to the custom page, which allows the block to appear again.

I'd be curious to hear other opinions about this.

Regards,
Jeff

CommentFileSizeAuthor
menu_active_fix.patch372 bytesjeffam
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gisle’s picture

Status: Needs review » Closed (duplicate)

Closed as duplicate of: http://drupal.org/node/267163