NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

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 LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads