You are here: Foswiki>Tasks Web>Item14300 (23 Jan 2017, MichaelDaum)Edit Attach

Item14300: prevent automatic definition of hashes in Foswiki::cfg by testing for sub hash properties

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: ClassificationPlugin, LdapNgPlugin, LikePlugin, MetaCommentPlugin
Branches: master
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
This code pattern

if ($Foswiki::cfg{Plugins}{SolrPlugin}{Enabled}) {
...
}

Will defined the matrix hash $Foswiki::cfg{Plugins}{SolrPlugin} ... and thus trip off configure as it assumes a SolrPlugin is partially installed.

-- MichaelDaum - 23 Jan 2017

 
Topic revision: r1 - 23 Jan 2017, MichaelDaum
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