Item9842: % NOP % is not expanded when placed in a TOPICS META

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.1
Target Release: patch
Applies To: Engine
Component:
Branches:
Reported By: GregG
Waiting For:
Last Change By: KennethLavrsen
-- GregG - 18 Oct 2010

Index: Foswiki.pm
===================================================================
--- Foswiki.pm   (revision 9552)
+++ Foswiki.pm   (working copy)
@@ -2435,6 +2435,8 @@
         $p->{value} =
           _processMacros( $this, $p->{value}, \&_expandMacroOnTopicCreation,
             $topicObject, 16 );
+        # kill markers used to prevent variable expansion
+        $p->{value} =~  s/%NOP%//g;
     }
 }

-- CrawfordCurrie - 18 Oct 2010

Fix verified and checked in. Thanks

-- KennethLavrsen - 18 Oct 2010

Re-opened because a unit test is required.

-- CrawfordCurrie - 19 Oct 2010

 

ItemTemplate edit

Summary % NOP % is not expanded when placed in a TOPICS META
ReportedBy GregG
Codebase 1.1.0
SVN Range
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:9cf629d20bf9 distro:b55b3731c254 distro:64aebd054ef0 distro:7a9d9db2e576
TargetRelease patch
ReleasedIn 1.1.1
Topic revision: r10 - 25 Oct 2010, KennethLavrsen
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