Uninstall settings in plungin.config not working

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

Bug Description

I have this in plugin config:
<install>
  <settings>
    <setting write="CurrentCompany">1</setting>
  </settings>
   ...
   other stuff
   ...
</install>

<uninstall>
  <settings>
    <setting delete="CurrentCompany"></setting>
  </settings>
</uninstall>

But after uninstalling plugin, the setting is still listed on the Config Manager page.

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

This was indeed a bug, just remember that there is no need to add delete settings in uninstall, all settings for that plugin will be uninstalled.

You only add
<setting delete="CurrentCompany"></setting>
on an upgrade of your plugin when setting is not required anymore.

However, the fact that it did not remove any settings was indeed a bug that is now fixed.

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.