Item10602: Typo in access to Foswiki configuration parameters.
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
The
EasyMacroPlugin configuration information is incorrectly being accessed as
$Foswiki::cfg{EasyMacroPlugin}
It should instead be
$Foswiki::cfg{Plugins}{EasyMacroPlugin}
The attached patch fixes this.
--
DiabJerius - 05 Apr 2011
Hm, no. The Confic.spec file defines them to be cfg{EasyMacroPlugin} ... not within the {Plugins} hash.
--
MichaelDaum - 05 Apr 2011
Sorry, I got confused. Please ignore.
--
DiabJerius - 05 Apr 2011
Well, I found out at least one reason for my confusion. I can't find a Config.spec file for the plugin. It's not in the tarball and (thus) there are no plugin specific options which appear in the configuration section.
--
DiabJerius - 06 Apr 2011
I found it in the SVN repository; a packaging problem perhaps?
--
DiabJerius - 06 Apr 2011
BTW, thanks for this plugin; it really cleans up messy code and makes it easier for typical users.
--
DiabJerius - 06 Apr 2011
Added Config.spec to package now.
--
MichaelDaum - 18 Jul 2011