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

Item3617: Deleting form values of type "select+values" (hot fix candidate)

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine Form Urgent Closed   patch 4.1.2

Edit Form Data

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

Detail

Since the merge of the ExtendedSelectPlugin values in a select can be redefined by distinguishing the format it is displayed and the real value of an option. From the manual:

| Field 9 | select+values | 5 | One, Two=2, Three=III, Four | Various values formats |

Since Item2650 and Item3434, saving the form values also includes checking back the values again to see if they are really part of the definition of the form. This code went to a series of changes and still is not correct because it did not strip off the part before the equation sign in form fields of type select+values (and select+multi+values ). So the code simply removed the value as it was not found in the formfield definition ... resulting in data loss.

-- TWiki:Main/MichaelDaum - 12 Feb 2007

Closed with release of 4.1.2

KJL

ItemTemplate
Summary Deleting form values of type "select+values" (hot fix candidate)
ReportedBy TWiki:Main.MichaelDaum
Codebase 4.1.1, ~twiki4
SVN Range TWiki-4.1.1, Fri, 09 Feb 2007, build 12817
AppliesTo Engine
Component Form
Priority Urgent
CurrentState Closed
WaitingFor

Checkins 12848 12849
TargetRelease patch
ReleasedIn 4.1.2
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2007-03-04 - 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