• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6225: Comment Plugin do not process well verbatim tags.

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension CommentPlugin Enhancement New   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Not sure if this is a bug. Comment Plugin do not process well verbatim tags. It is inserting a 'nop' operator that breaks the functionality of the inserted text if used somewhere else. When verbatim is used it should behave in any context. Example here

Inside verbatim tags

%SEARCH{ "[C]ategory.*value\=.%<nop>URLPARAM{"qCategory" default = "*" }%" 
scope="text" type="regex" nosearch="on" 
format=" | $formfield(Category) | $formfield(Animal) |" }%

-- EnriqueCadalso - 27 Mar 2009

The example is also in TestingWrongInsertionInsideVerbatimTags

-- TWiki:Main.EnriqueCadalso - 27 Mar 2009

Not using comment plugin

%SEARCH{ "[C]ategory.*value\=.%URLPARAM{"qCategory" default = "*" }%" 
scope="text" type="regex" nosearch="on" 
format=" | $formfield(Category) | $formfield(Animal) |" }%

-- EnriqueCadalso - 27 Mar 2009

I moved the example from the Sandbox web to the LitterTray web since the Sandbox web is cleaned up by a script.

-- TWiki:Main.PeterThoeny - 28 Mar 2009

ItemTemplate
Summary Comment Plugin do not process well verbatim tags.
ReportedBy TWiki:Main.EnriqueCadalso
Codebase 4.2.4
SVN Range TWiki-5.0.0, Mon, 23 Feb 2009, build 17838
AppliesTo Extension
Component CommentPlugin
Priority Enhancement
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2009-03-28 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback