You are here: Foswiki>Tasks Web>Item1452 (09 Nov 2010, MichaelDaum)Edit Attach

Item1452: LdapContrib MaxCacheAge doco incorrect

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: LdapContrib
Branches:
Reported By: MarcusLeonard
Waiting For:
Last Change By: MichaelDaum
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

ItemTemplate edit

Summary LdapContrib MaxCacheAge doco incorrect
ReportedBy MarcusLeonard
Codebase 1.0.4, trunk
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component LdapContrib
Priority Normal
CurrentState Closed
WaitingFor
Checkins LdapContrib:5ac3d24b507e
TargetRelease n/a
ReleasedIn n/a
Topic revision: r7 - 09 Nov 2010, 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