Item12702: Re-using config during upgrade can cause error
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release:
userBase => $Foswiki::cfg{Ldap}{UserBase}
|| $Foswiki::cfg{Ldap}{Base}
|| [],
and then on line 232:
unless (ref($this->{userBase})) {
push @{$this->{userBase}}, $this->{userBase};
}
However Config.spec defines
# **STRING**
$Foswiki::cfg{Ldap}{Base} = 'dc=my,dc=domain,dc=com';
# **PERL**
# A list of trees where to search for users records.
$Foswiki::cfg{Ldap}{UserBase} = ['ou=people,dc=my,dc=domain,dc=com'];
The mixing of the string type with the array type causes a crash if you define {Ldap}{Base} but not {Ldap}{UserBase} in LSC (as is the case when you upgrade from some earlier versions)
Not a huge problem, but needs fixing.
--
CrawfordCurrie - 20 Dec 2013
Closing due to lack of actions.
--
MichaelDaum - 22 Apr 2016