• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 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.

According to TWiki:TWiki.TWikiVariables, the warn parameter of %INCLUDE% is supposed to replace $topic with the name of the included topic. It also states that the default value is stored in %INCLUDEWARNING%.

When I tried using $topic in %INCLUDEWARNING%, no replacement was made. Looking at _INCLUDE in TWiki.pm I discovered that it was instead replacing $includingTopic with the included topic name.

See attached patch for suggested fix.

-- TWiki:Main.JasonHill - 17 Mar 2006

Thanks for reporting.

SVN 9373, TWiki4+DEVELOP.

-- SP

Closed with the release of 4.0.2

KJL

ItemTemplate
Summary $topic not substituted right in INCLUDEWARNING
ReportedBy TWiki:Main.JasonHill
Codebase

SVN Range Mon, 13 Mar 2006 build 9310
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins 9373
TargetRelease patch
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatdiff bug1895.diff r1 manage 0.5 K 2006-03-17 - 04:37 JasonHill  
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-04-01 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback