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

Item4414: Variable is not set as expected

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal No Action Required TWiki:Main.VickiBrown n/a  

Edit Form Data

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


See Support.OverridePageTitle for history.

I have a Pattern Skin cover that is working perfectly. If I put

   * Set PAGETITLE = Vicki Loves Bagels
into a page, the page title changes as expected. Tra la.

However, if I set PAGETITLE based on a form field, that is, if I put

   * Set PAGETITLE = %IFDEFINED{"%FORMFIELD{"ProjectName"}%" then="%FORMFIELD{"ProjectName"}%" else="%TOPIC%"}%

into the page, the page Title becomes


Not as expected.

-- TWiki:Main/VickiBrown - 26 Jul 2007

You allocated this to Engine but you are actually reporting a problem against a plugin, I think. You can do the same thing with %IF; just in case that's what you meant, let's try it:

  • Set PAGETRIPE = %IF{"'%FORMFIELD{"ReportedBy"}%'" then="%FORMFIELD{"AppliesTo"}%" else="%TOPIC%"}% expands to:
  • Set PAGETRIPE = Engine
  • %FORMFIELD{"ReportedBy"}% is TWiki:Main.VickiBrown
  • %FORMFIELD{"AppliesTo"}% is Engine
  • =%PAGETRIPE% is Engine
Looks OK to me, so I guess your problem is with a plugin after all. Can you confirm that?

-- CrawfordCurrie - 27 Jul 2007

Perhaps this is hit by a similar issue to Item4391.

Please re-open with more information.

-- TWiki:Main.SteffenPoulsen - 17 Sep 2007

Summary Variable is not set as expected
ReportedBy TWiki:Main.VickiBrown

SVN Range TWiki-4.1.2, Thu, 19 Jul 2007, build 14438
AppliesTo Engine

Priority Normal
CurrentState No Action Required
WaitingFor TWiki:Main.VickiBrown

TargetRelease n/a

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2007-09-17 - SteffenPoulsen
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