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 |
Jump to:
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
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
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
No response so I'm marking as fixed.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.