Closed (won't fix)
Project:
Drupal core
Version:
x.y.z
Component:
menu system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2006 at 19:25 UTC
Updated:
17 Jan 2006 at 17:53 UTC
Jump to comment: Most recent file
Comments
Comment #1
Richard Archer commentedI'm assuming you went to admin/menu and clicked "add menu item". Rather than using the menu_otf feature.
What path did you enter?
I can't reproduce this problem and a quick code audit reveals no obvious errors.
Comment #2
peterjohnhartman commentedThere is no path field, which is the main problem. According to the code, it is hidden. (Keep in mind, I am using the latest cvs version.) Attached is a pdf screenshot of what I entered and the error.
Comment #3
Richard Archer commentedI can't see how that can happen.
You click "add menu item".
menu_edit_item() is called-back
$mid == 0 so menu_edit_item_form is called with
$edit['pid'] != 0 so the else is executed
$edit['type'] & MENU_CREATED_BY_ADMIN is true so the form item is created with:
Can you post your menu.module (or email it to me)?
Are you running any other modules that might interfere with this?
Comment #4
peterjohnhartman commentedIt was another module (a custom one) modifying form_alter.