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

Item3940: PREFERENCE values not carried over to preview and then save

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension PatternSkin Urgent Closed   minor 4.2.0

Edit Form Data

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

Detail

Originally found in TWiki:Support/BlogPostViewTemplate, but this does not only occur with BlogAddOn or pattern skin.

When a topic is created using a template that has a META:PREFERENCE setting:

  • Saving the topic from edit will keep that setting
  • Saving the topic from preview will not remember that setting

-- TWiki:Main/ArthurClemens - 28 Apr 2007

templatetopic is currently written as:

<input type="hidden" name="templatetopic" value="%TEMPLATETOPIC%" />

I think it should be:

<input type="hidden" name="templatetopic" value="%URLPARAM{"templatetopic"}%" />

This change makes it work.

I've made changes to pattern skin, classic skin and default skin.

-- TWiki:Main.ArthurClemens - 28 Apr 2007

ItemTemplate
Summary PREFERENCE values not carried over to preview and then save
ReportedBy TWiki:Main.ArthurClemens
Codebase 4.1.2, ~twiki4
SVN Range TWiki-4.1.2, Sun, 15 Apr 2007, build 13419
AppliesTo Extension
Component PatternSkin
Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:13565 TWikirev:13566 TWikirev:13567 TWikirev:13568
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r14 < r13 < r12 < r11 < r10 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r14 - 2008-01-22 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback