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

Item7298: FORMFIELD unable to get the top revision data regardless of the rev URL parameter

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   major 6.0.0

Edit Form Data

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


%FORMFIELD{"FIELD_NAME"}% refers to the revision specified by the rev URL parameter by default. You can override it by the rev parameter in FORMFIELD{} (%FORMFIELD{"FIELD_NAME" rev="REV"}%) but there is no way to specify the top revision.

rev="0" shall be the way to specify the top revision regardless of the rev URL parameter.

-- TWiki:Main/HideyoImazu - 2013-07-18

The rev="0" to override the rev URL parameter seems sensible. The rev URL parameter is there so that when a user looks at a previous revision of a topic, the proper form field value is shown as recorded at that time.

-- TWiki:Main.PeterThoeny - 2013-07-18

How does this item differ from the earlier submitted Item7296?

-- TWiki:Main.PeterThoeny - 2013-07-18

Item7296 is about TWiki::Render::renderFORMFIELD() ignoring the rev parameter. This is about TWiki::FORMFIELD() not having a way to override the rev URL parameter.

-- TWiki:Main.HideyoImazu - 2013-07-18

Summary FORMFIELD unable to get the top revision data regardless of the rev URL parameter
ReportedBy TWiki:Main.HideyoImazu
Codebase ~twiki4
SVN Range TWiki-5.1.3-trunk, Thu, 04 Jul 2013, build 26045
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins TWikirev:26079
TargetRelease major
ReleasedIn 6.0.0
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2013-10-15 - PeterThoeny
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