Item12293: Configure shows warning when AutoStartDaemon on

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: SolrPlugin
Branches: trunk
Reported By: MartinKaufmann
Waiting For:
Last Change By: MichaelDaum
In configure I get a warning for setting {SolrPlugin}{SolrHome} saying "Warning: I guessed this setting..." even though I entered the value for this setting manually. The warning disappears if {SolrPlugin}{AutoStartDaemon} is set to off. I'm using SolrPlugin from svn (checkout beginning of December, after Item10657).

It also disappears if I change the following in lib/Foswiki/Configure/Checkers/SolrPlugin/SolrHome.pm
--- SolrHome.pm.orig    2012-11-29 02:20:14.000000000 +0100
+++ SolrHome.pm 2012-12-14 17:41:44.000000000 +0100
@@ -15,7 +15,7 @@
     if (
         $Foswiki::cfg{SolrPlugin}{AutoStartDaemon}
         && (  !$Foswiki::cfg{SolrPlugin}{SolrHome}
-            || $Foswiki::cfg{SolrPlugin}{SolrHome} ne 'NOT SET' )
+            || $Foswiki::cfg{SolrPlugin}{SolrHome} eq 'NOT SET' )
       )
     {
         my ( $vol, $dir ) =

See http://irclogs.foswiki.org/bin/irclogger_log/foswiki?date=2012-12-14,Fri&sel=507#l503

-- MartinKaufmann - 14 Dec 2012

 
Topic revision: r3 - 11 Feb 2014, 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