← Back to team overview

phpdevshell team mailing list archive

[Bug 673640] Re: Error when going up one Menu item to placeholder only

 

** Changed in: phpdevshell
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of
PHPDevShell, which is subscribed to PHPDevShell.
https://bugs.launchpad.net/bugs/673640

Title:
  Error when going up one Menu item to placeholder only

Status in Open Source PHP RAD Framework with UI.:
  Fix Released

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.





References