Foswiki on GitHub is open for business! Next release meeting: Monday September 29, 1300Z

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

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Closed Engine    
-- 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 Foswikirev:9607 Foswikirev:9608 Foswikirev:9621 Foswikirev:9624
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 CopyrightStatement. Creative Commons License