The foswiki svn repository will become read-only on Friday 8/8. Developers should register for a http://github.com/ account for commit access to foswiki.

Item8194: it was not able to cache a single topic during afterSaveHandler

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Closed Extension DBCacheContrib  
allthough the code states it so it was not able to cache a single topic during afterSaveHandler. Here's a patch to add the appropriate api to DBCacheContrib.pm.

It basically takes out the per topic loop code and puts it into a _updateTopic() method which can be called by a separate loadTopic() public api. The names of these new functions should be in line with their big sisters.

-- MichaelDaum - 30 Jun 2009

 

ItemTemplate edit

Summary it was not able to cache a single topic during afterSaveHandler
ReportedBy Foswiki:Main.MichaelDaum
Codebase
SVN Range SVN 4323: Foswiki-1.1.0-dev, Wed, 17 Jun 2009, build 4184
AppliesTo Extension
Component DBCacheContrib
Priority Urgent
CurrentState Closed
WaitingFor
Checkins Foswikirev:4324
ReleasedIn
Topic revision: r3 - 02 Jul 2009, MichaelDaum
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License