Item1452: LdapContrib MaxCacheAge doco incorrect
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Hi guys,
There's no LdapContribDev topic and not sure of process, so logging here.
Setting MaxCacheAge to 0 as per doco does
not stop it from refreshing. We think the line in lib/Foswiki/Contrib/LdapContrib.pm
maxCacheAge=>$Foswiki::cfg{Ldap}{MaxCacheAge} || 86400,
just defaults to 86400 if it's set to 0.
Setting it to
-1
seems to fix it.
Just update the doco??
Old bugs like this tend to show up again from time to time (merge error?)
--
MichaelDaum - 16 Apr 2009
Re-opening this because all doco I can find still says set to
0
. I checked svn trunk and same thing.
--
MarcusLeonard - 08 Jul 2009
The code works as documented.
--
MichaelDaum - 09 Nov 2010