Creating different plugins pointing to same named file, overrides original

Bug #928149 reported by TitanKing
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PHPDevShell
Fix Released
High
TitanKing

Bug Description

When we have a menu in one plugin like this: <menu name="AdldapWrapper Konfiguration" link="configuration.php" alias="AdldapWrapper.Configuration" rank="last" parentlink="system-admin/general-settings.php" plugin="PHPDevShell" />

and in another plugin like this:

<menu name="Gästegenerator Konfiguration" link="configuration.php" alias="GuestGenerator.Configuration" rank="last" parentlink="system-admin/general-settings.php" plugin="PHPDevShell" />

The second one overrides the first id.

Revision history for this message
TitanKing (titan-phpdevshell) wrote :
Revision history for this message
TitanKing (titan-phpdevshell) wrote :

This was cause due to a query check for an existing menu id that did not include the plugin folder in the query. Above patch fixes this, though it will be fixed in future release.

Changed in phpdevshell:
status: Confirmed → 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.