← Back to team overview

phpdevshell team mailing list archive

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

 

Public bug reported:

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.

** Affects: phpdevshell
     Importance: Undecided
         Status: New

-- 
Error when going up one Menu item to placeholder only
https://bugs.launchpad.net/bugs/673640
You received this bug notification because you are a member of
PHPDevShell, which is subscribed to PHPDevShell.

Status in Open Source php gui type development framework.: New

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.





Follow ups

References