• 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.

Item5150: EditTablePlugin: find another way to escape twiki variables inside the table

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension EditTablePlugin Normal No Action Required   n/a  

Edit Form Data

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

Detail

I have placed the first rendering of the table inside beforeCommonTagsHandler to prevent variable from getting expanded. But this is causing all sorts of (advanced usage) problems. There must be another way to prevent escaping. Perhaps I can first loop over the table contents in beforeCommonTagsHandler and protect the variables, and later unprotect them.

-- TWiki:Main/ArthurClemens - 18 Dec 2007

Hm, why had your change been necessary? What were the problems you needed to cure? Must have missed the relevant Item topics or I would have reported that bug earlier. Thought it was a false setup of my local installation. -- Don't know anything about your code, but would the introduction of $percnt, $quot, $dollar, ... as done for TwistyPlugin help here too?

-- TWiki:Main.FranzJosefGigler - 19 Dec 2007

The bug was raised in Item3890.

Mini spec:

  • TWiki variables like %Y% should not get expanded when editing
  • TWiki variables in the format parameter should not get expanded either, or should be written with $percnt to prevent first time expansion

-- TWiki:Main.ArthurClemens - 19 Dec 2007

I am quiet confident I have fixed the problem. But I will spend some more time testing and adding tests.

-- TWiki:Main.ArthurClemens - 19 Dec 2007

Closed with Item3890.

-- TWiki:Main.ArthurClemens - 22 Dec 2007

ItemTemplate
Summary EditTablePlugin: find another way to escape twiki variables inside the table
ReportedBy TWiki:Main.ArthurClemens
Codebase

SVN Range TWiki-4.3.0, Tue, 18 Dec 2007, build 16029
AppliesTo Extension
Component EditTablePlugin
Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2007-12-22 - ArthurClemens
 
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