Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

Item10400: Auto-remove missing plugins from LocalSite.cfg

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine Configure  
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
 

ItemTemplate edit

Summary Auto-remove missing plugins from LocalSite.cfg
ReportedBy PhilippLeufke
Codebase 1.1.2, 1.0.10, trunk
SVN Range
AppliesTo Engine
Component Configure
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease patch
ReleasedIn 1.1.3
Topic revision: r3 - 16 Apr 2011, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License