← Back to team overview

phpdevshell team mailing list archive

[Bug 985480] [NEW] Control Panel menu's in rare conditions rendered more than once

 

Public bug reported:

I have a fairly customised menu structure within PHPDevShell and
recently found that many of the menu items within the control panel was
rendered multiple times.

I'm not sure if there is something broken within my own menu since an
output of the navigation array shows everything is correct. There are no
duplicates in the database and no problematic cache issues either. The
Menu administration page shows everything is correct as well.

The problem occurs in my case within controlPanel.query.php:childCP()
recursive function which builds its own array of control panel menu
items. It seems the function iterates over the same menu items multiple
times which then creates multiple entries for the same menu items in the
array.

** Affects: phpdevshell
     Importance: Medium
     Assignee: Don Schoeman (don.sch)
         Status: New


** Tags: childcp control duplicate items menu panel

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

Title:
  Control Panel menu's in rare conditions rendered more than once

Status in Open Source PHP RAD Framework with UI.:
  New

Bug description:
  I have a fairly customised menu structure within PHPDevShell and
  recently found that many of the menu items within the control panel
  was rendered multiple times.

  I'm not sure if there is something broken within my own menu since an
  output of the navigation array shows everything is correct. There are
  no duplicates in the database and no problematic cache issues either.
  The Menu administration page shows everything is correct as well.

  The problem occurs in my case within controlPanel.query.php:childCP()
  recursive function which builds its own array of control panel menu
  items. It seems the function iterates over the same menu items
  multiple times which then creates multiple entries for the same menu
  items in the array.

To manage notifications about this bug go to:
https://bugs.launchpad.net/phpdevshell/+bug/985480/+subscriptions


Follow ups

References