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

Item7836: In %FORM%, the $formweb formatting variable holds a wrong value

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed TWiki:Main.HaraldJoerg    

Edit Form Data

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


This has been brought to my attention by Emiel van Riel in TWiki:Support/SID-02344:

In the %FORM% macro, the $formweb formatting variable contains the wrong value if it refers to a topic in another web. A short code inspection revealed that the form name is evaluated relatively to the topic where %FORM% is used instead of relative to the topic which contains the form.

I tried to whip up a demo at twiki.org which failed because twiki.org runs version 6.0.0, where FORM didn't exist, and the demo here at FormWebDemo fails with an uninitialized parameter - I guess develop.twiki.org promotes warnings to errors.

Well, the idea can be seen in http://develop.twiki.org/do/viewauth/Sandbox/FormWebDemo?raw=on.

-- TWiki:Main/HaraldJoerg - 2018-02-05

Summary In %FORM%, the $formweb formatting variable holds a wrong value
ReportedBy TWiki:Main.HaraldJoerg

SVN Range TWiki-6.0.2-trunk, Fri, 03 Nov 2017, build 30403
AppliesTo Engine

Priority Normal
CurrentState Closed
WaitingFor TWiki:Main.HaraldJoerg
Checkins TWikirev:30419


Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2018-07-17 - PeterThoeny
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback