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

Item4986: select+multi+values broken in various respects

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   minor  

Edit Form Data

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

Detail

Example form definition:
Name: Type: Size: Values: Tooltip message: Attributes:
MyMultiValues select+multi+values 3 string1=val1, string2=val2, string3=val3 select string1, string2 and/or string3  

  1. A newly created topic with a form that has a select+multi+values fromfield MyMultiValues will have all options preselected ... should be none
  2. If the topic is created by presetting the MyMultiValues with the empty string, the string-to-value mapping is broken. You will only get a selection list for val1, val2, val3

It seems as though TWiki::Form::Select::renderForEdit() does not know how to distinguish predefined from preselected values.

-- TWiki:Main/MichaelDaum - 19 Nov 2007

This has been a bug in all previous versions that have the select+multi+values feature merged in. It is probably still in the (obsolete) ExtendedSelectPlugin.

-- MichaelDaum - 19 Nov 2007

Fix was causing unit tests to fail.

Fixed.

CC

ItemTemplate
Summary select+multi+values broken in various respects
ReportedBy TWiki:Main.MichaelDaum
Codebase

SVN Range TWiki-4.3.0, Thu, 15 Nov 2007, build 15610
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:15641 TWikirev:15642 TWikirev:15647 TWikirev:15648 TWikirev:15689 TWikirev:15690
TargetRelease minor
ReleasedIn

Edit | Attach | Watch | Print version | History: r16 < r15 < r14 < r13 < r12 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r16 - 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