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

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

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Waiting for Release TWiki:Main.HaraldJoerg    

Edit Form Data

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

Detail

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

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

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

Priority Normal
CurrentState Waiting for Release
WaitingFor TWiki:Main.HaraldJoerg
Checkins TWikirev:30419
TargetRelease

ReleasedIn

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2018-02-05 - HaraldJoerg
 
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