New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

Item11453: Convert RenderListPlugin to use preRenderingHandler

Priority: Normal
Current State: Closed
Released In: 1.1.5
Target Release: patch
Applies To: Extension
Component: RenderListPlugin
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Should change this to use preRenderingHandler. Change is simple but without unit tests - don't know what else might break. Everything seems to work fine

diff --git a/RenderListPlugin/lib/Foswiki/Plugins/ b/RenderListPlugin/lib/Foswiki/Plugins/
index c6c5fb9..8605791 100755
--- a/RenderListPlugin/lib/Foswiki/Plugins/
+++ b/RenderListPlugin/lib/Foswiki/Plugins/
@@ -72,7 +72,7 @@ sub initPlugin {
 # =========================
-sub startRenderingHandler {
+sub preRenderingHandler {
 ### my ( $text, $web ) = @_;   # do not uncomment, use $_[0], $_[1] instead
     # This handler is called by getRenderedVersion just before the line loop

-- GeorgeClark - 18 Jan 2012

Topic revision: r7 - 11 Apr 2012, GeorgeClark - This page was cached on 13 Jul 2018 - 20:08.

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