Item11164: Use SystemWebName setting as default value for DIRECTEDGRAPHPLUGIN_LIBRARY

Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: DirectedGraphPlugin
Branches: trunk
Reported By: MaximeBesson
Waiting For:
Last Change By: GeorgeClark
Currently, "System.DirectedGraphPlugin" is hardcoded as the default value of DIRECTEDGRAPHPLUGIN_LIBRARY

This can cause issues for people who have renamed their System web. I suggest you use the SystemWebName parameter to build the default value :

--- lib/Foswiki/Plugins/   2011-10-03 16:09:17.000000000 +0200
+++ lib/Foswiki/Plugins/   2011-10-03 16:08:53.000000000 +0200
@@ -266,7 +266,7 @@
     # Get plugin library default
     $libraryDefault =
-      || 'System.DirectedGraphPlugin';
+      || $Foswiki::cfg{SystemWebName}.'.DirectedGraphPlugin';
     # Get plugin hideattachments default
     $hideAttachDefault =

Best regards.

-- MaximeBesson - 03 Oct 2011


ItemTemplate edit

Summary Use SystemWebName setting as default value for DIRECTEDGRAPHPLUGIN_LIBRARY
ReportedBy MaximeBesson
Codebase 1.1.3, trunk
SVN Range
AppliesTo Extension
Component DirectedGraphPlugin
Priority Enhancement
CurrentState Closed
Checkins DirectedGraphPlugin:4af663e22dec
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches trunk
trunkCheckins DirectedGraphPlugin:4af663e22dec
Topic revision: r3 - 21 Dec 2013, GeorgeClark - This page was cached on 18 Sep 2021 - 07:10.

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