Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355611

Summary: SearchForm generation from a TablePage does not add the generic value type for listboxes
Product: z_Archived Reporter: Matthias Villiger <mvi>
Component: ScoutAssignee: Andreas Hoegger <Andreas.Hoegger>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Andreas.Hoegger, judith.gull, zimmermann
Version: unspecifiedFlags: zimmermann: indigo+
zimmermann: juno+
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Patch Proposal zimmermann: iplog+

Description Matthias Villiger CLA 2011-08-24 04:01:18 EDT
Build Identifier: M20110210-1200

If a search form is generated from a tablepage having smartcolumns using getConfiguredCodeType(), the resulting listbox in the search form misses the default generic value type.

Reproducible: Always

Steps to Reproduce:
1. Create a TablePage with a column of Type AbstractSmartColumn
2. Configure the column by defining a getConfiguredCodeType
3. Right click on the tablepage in the scout explorer
4. Click "Create Search Form..."
5. Click through the wizard. the specified search form is created.
6. Check the listbox created for the AbstractSmartColumn created above. The field has no generic type defined.
Comment 1 Matthias Villiger CLA 2011-08-24 04:22:35 EDT
Created attachment 202058 [details]
Patch Proposal

patch adds default generic value type to listbox to be consistent with smartfields
Comment 2 Matthias Villiger CLA 2011-08-24 04:24:01 EDT
patch attached.
default generic value type added to listbox the same way it is already done for smartfields (to be consistent)
Comment 3 Andreas Hoegger CLA 2011-09-09 04:05:00 EDT
Patch applied. Thank you Matthias.
Comment 4 Matthias Zimmermann CLA 2011-10-11 02:35:02 EDT
shipped with 3.7.1
Comment 5 Matthias Zimmermann CLA 2011-10-11 11:34:08 EDT
removed iplog flag from ticket and added iplog flag to attachment