Redirects not visible to menu_get_item

danorton - December 3, 2008 - 00:18
Project:Path redirect
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

The Drupal API function menu_get_item returns a router item for a given path. URL redirects are invisible to this function and must be made visible for a number of other functions to correctly validate path availability and path accessibility.

#1

danorton - December 3, 2008 - 00:38

See #341856: Can't alias a redirect and my comment that it's not clear to me what component is actually responsible for this.

#2

Dave Reid - February 3, 2009 - 07:01
Status:active» postponed (maintainer needs more info)

Why would you need to alias a redirect? menu_get_item will only work for valid menu callbacks that have been added using hook_menu() which is out of the scope of the path_redirect module.

#3

Dave Reid - October 27, 2009 - 14:17
Status:postponed (maintainer needs more info)» fixed

No response so I'm marking as fixed.

#4

System Message - November 10, 2009 - 14:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.