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

Item5288: META tag doesn't call expandStandardEscapes() and crashes (trunk only does not affect 4.2.1)

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   patch 4.2.1, 5.0.0

Edit Form Data

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

Detail

Relates to TWiki:Support/SpacingOutParentsInBreadcrumbs

The %META tag doesn't call expandStandardEscapes() on its results, so doing something like

format="[[$web.$topic][$percntSPACEOUT{$topic}$percnt]]"}

in the %META tag won't work, and render $percntSPACEOUT{$topic}$percnt literally.

I fixed this by simply changing the returns from sub META in TWiki.pm to be caught into a string and then change the final return to:

    return expandStandardEscapes($returnString);

The escapes now work as expected.

-- TWiki:Main/ChrisFLewis - 25 Jan 2008

Here in Bugs the %META actually makes TWiki crash

I have not confimed if this also happens on T42 branch.

-- KennethLavrsen - 25 Jan 2008

It does not crash on T42 branch.

-- TWiki:Main.KennethLavrsen - 25 Jan 2008

no so crashy anymore? Item5288Test

and fixed.

-- TWiki:Main.SvenDowideit - 14 Apr 2008

ItemTemplate
Summary META tag doesn't call expandStandardEscapes() and crashes (trunk only does not affect 4.2.1)
ReportedBy TWiki:Main.ChrisFLewis
Codebase 4.2.0
SVN Range TWiki-5.0.0, Wed, 23 Jan 2008, build 16283
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:16658 TWikirev:16659
TargetRelease patch
ReleasedIn 4.2.1, 5.0.0
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r8 - 2008-08-04 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback