Item10400: Auto-remove missing plugins from LocalSite.cfg
Priority: Normal
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
Component: Configure
Branches:
I had
TimeTablePlugin installed and enabled in
configure
.
After uninstalling it by purging the corresponding debian package without deactivating it in
configure
, the configuration was still present in
LocalSite.cfg which caused plenty of warnings to appear in the logs, as the plugin was obviously missing.
Unfortunately,
configure
didn't even show the configuration entry of the uninstalled plugin, so the appropriate line(s) have to be manually deleted from
LocalSite.cfg.
Possible soultion:
- In my eyes
configure
should automatically remove entries of missing plugins.
- If it doesn't, it should at least show a warning about the problem and allow the user to do it via
configure
rather than by manually editing LocalSite.cfg.
--
PhilippLeufke - 23 Feb 2011
In the upcoming 1.1.3, the missing plugins are now warned in configure and also are shown at the end of the list of installed plugins, so it's possible to un-check the setting, at and they disappear after the save. This is already fixed.
The package installer doesn't have easy access to the Foswiki configuration file.
--
GeorgeClark - 23 Feb 2011