Error when going up one Menu item to placeholder only

Bug #673640 reported by jsherk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PHPDevShell
Fix Released
Undecided
Unassigned

Bug Description

Add the following menu structure in your plugin config file, and notice that CONTACTS is type=6 placeholder.
<menu name="CONTACTS" type="6" hide="2" link="contacts.php" rank="last">
  <menu name="View Contacts" type="1" hide="2" link="view-contacts.php" rank="1" />
  <menu name="Add New Contact" type="1" hide="2" link="add-new-contacts.php" rank="2" />
</menu>

Install the plugin and then when you hover over CONTACTS button choose View Contacts. You will see on the second line of buttons that it says Frontpage - Dashboard - CONTACTS - Up.

Clicking the UP button generates the following error:
The controller of menu id 0 could not be found, I tried to execute filename : ""

The up button should either not exist in this case (since CONTACTS is only a placeholder) or it should jump back up to the menus above CONTACTS.

Changed in phpdevshell:
status: New → Fix Committed
Changed in phpdevshell:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.