Priority: Low
Current State: Closed
Released In: 1.0.10, 1.1.0
Target Release: patch
Applies To: Engine
Component: configure
Branches:
from
http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item6379
In
configure
all defined empty strings
''
are converted into
'NOT SET'
This is done here in:
lib/TWiki/Configure/Checkers/BasicSanity.pm
# If we got this far without definitions for key variables, then
# we need to default them. otherwise we get peppered with
# 'uninitialised variable' alerts later.
foreach my $var qw( DataDir DefaultUrlHost PubUrlPath
PubDir TemplateDir ScriptUrlPath LocalesDir ) {
# NOT SET tells the checker to try and guess the value later on
$TWiki::cfg{$var} ||= 'NOT SET';
}
To fix we should change the line to:
$TWiki::cfg{$var} = 'NOT SET' unless defined $TWiki::cfg{$var};
This is a small change that will only affect those who use empty strings as part of their configuration.
My
ScriptUrlPath is set to an empty string.
--
TWiki:Main/VernonLyon - 30 Dec 2009
Apparently I changed this from
WaitingForRelease to Closed, which is obviously wrong...
--
PaulHarvey - 20 Apr 2010