You are here: Foswiki>Tasks Web>Item9525 (29 Aug 2010, GeorgeClark)Edit Attach

Item9525: PluginsOrder is not the right place to consistency check the enabled/installed plugins

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component: Configure
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Currently the check for plugin consistency:
  • Enabled but not installed
  • Duplicate versions found on path
  • Module parameter references the wrong version
is performed as part of the PluginsOrder checker. It would be better to move it into the Plugins section, since that is where many of the errors are configured.

I can't figure any other way to move a checker into this section without adding a dummy setting to anchor the checker. So I have ready to commit:

  • Add dummy expert parameter to the Plugins section of Foswiki.spec
+# **BOOLEAN EXPERT**
+# Dummy parameter used to trigger plugin consistency checks.   
+$Foswiki::cfg{PluginConsistency} = $TRUE;

Looking for feedback - any better way to do this?

-- GeorgeClark - 23 Aug 2010

After some IRC discussion, Moving PluginsOrder to the "Enable Plugins" tab - this ties it together better. Also added the plugins enabled in error to the discovered list, so that the issue can be fixed from configure.

-- GeorgeClark - 26 Aug 2010

The missing plugins could be disabled, but the results were not actually saved. Instead of bypassing adding disabled / missing plugins to the Value tree, it still needs to be added so it will be saved. But it can be set to hidden so that it doesn't show up in the UI by default.

-- GeorgeClark - 29 Aug 2010

 

ItemTemplate edit

Summary PluginsOrder is not the right place to consistency check the enabled/installed plugins
ReportedBy GeorgeClark
Codebase trunk
SVN Range
AppliesTo Engine
Component Configure
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:5ba6d0102b11 distro:fac46b937cf6
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r4 - 29 Aug 2010, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy