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

This, in a way, contradicts left-to-right-inside-out parsing. For example, given a table

| *attr* | value=%FOO{exclude="<regex>"}% |
and given that <regex> contains a pipe (|) in it. Then this table will display the table up to the pipe and %FOO...% will not be expanded anymore. I would have expected FOO to be processed before generating the table markup.


Can you give a real-life example?

My naive try works as expected:

| foo | WebChanges WebSearch WebStatistics |

...and that's what I would expect from the code. The only exceptions I could think of are undefined TWiki variables, or those plugin variables who deliberately are expanded no earlier than in postRenderingHandler.

-- HJ

Oh - forget what I just said. It works only if the search returns exactly one hit. frown Back to status New...

-- HJ

But yet, it's still a RTFM and not a bug.

| *foo* | %SEARCH{"|" format="$topic " nonoise="on" topic="Web*" separator=" "}% |


foo WebChanges WebSearch WebStatistics

If done correctly, %SEARCH{}% is expanded before the table, as I would have expected. So again - do you have an example for me to debug? (Waiting for Feedback - and my apologies for the confusion)

-- HJ

I believe that it was my initial report of this that prompted Michael to post the bug and let me clarify a few points:

  1. I was referring to variables within TWikiForms, not TWiki tables.
  2. The specific problem I observerd was when trying to use a bar ("|") within a regex search.
  3. The table within the topic that defined the TWikiForm displayed fine. The problem was when the form was used by a topic. Then the bar broke the search and consequently, the first part of the search definition was displayed in the TWikiForm. I don't know how to demostrate this here.


I don't believe this is a bug; it's a proposal for a behaviour change, and as such must be disscussed in Codev before re-opening this report (if necessary). Setting to no action


Summary TWikiTable markup processed before cells
ReportedBy TWiki:Main.MichaelDaum

SVN Range TWiki-4.1, Tue, 28 Nov 2006, build 12081
AppliesTo Engine

Priority Normal
CurrentState No Action Required


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r7 - 2007-01-31 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback