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

Item6624: Variable expansion for included topics incorrect

Item Form Data

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

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


Topic-defined variables do not take effect if they are defined in an included topic.

To recreate, define two topics, A and B. Include B from A. In B, define a variable X and use it in B. The variable is undefined.

This is not only confusing, but also inconsistent with the specification of variables (expanded where used) and include.

-- TWiki:Main/ThomasWeigert - 2010-12-28

I agree that this is confusing. Spec of proper behavior needs to be reviewed, such, what happens of Topic B and Topic A define the same variable FOO? It seems like the including topic should override the variables in the included topic. I think for compatibility it should behave like this.

I label this as an enhancement because this reflects a spec change. Probably good to post a feature proposal in the Codev web to give it some visibility.

-- TWiki:Main.PeterThoeny - 2010-12-29

Summary Variable expansion for included topics incorrect
ReportedBy TWiki:Main.ThomasWeigert
Codebase 4.3.1, 5.0.1, ~twiki4
SVN Range TWiki-5.0.1, Mon, 20 Dec 2010, build 20024
AppliesTo Engine

Priority Enhancement
CurrentState New


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2010-12-29 - PeterThoeny
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