Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358350 - The read-only Combox for non-initialized int type has much of values added than RBD
Summary: The read-only Combox for non-initialized int type has much of values added th...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Xiao Bin Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 02:48 EDT by fahua jin CLA
Modified: 2017-02-23 14:20 EST (History)
4 users (show)

See Also:


Attachments
screen shot (27.71 KB, image/jpeg)
2011-10-13 02:51 EDT, Huo Zhen Zhong CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description fahua jin CLA 2011-09-21 02:48:59 EDT
Build Identifier: 0.7.0.v201109192102

1) Create an RUI handler
2) Declare following int type in the RUI handler.
   intType int;
3) In the EGL Data view, drag the intType and select Combox as the widget (read-only)
4) In the preview mode, click the button to expand the values for combox, you can find lots of empty lines are created. While the same scenario in RBD8012 only created 1 empty line.

Reproducible: Always
Comment 1 Huo Zhen Zhong CLA 2011-10-13 02:51:56 EDT
Created attachment 205088 [details]
screen shot
Comment 2 Huo Zhen Zhong CLA 2011-10-13 02:53:23 EDT
Change owner to Scott as it is a MVC problem. Please see screen shot.
Comment 3 Scott Greer CLA 2011-10-19 23:26:43 EDT
Brian,

Like the other combo box bugs, I think this one is working as far as MVC is concerned; however, it does generate a potentially confusing error when the combo box's values do not include the value being returned in the retrieveViewHelper.  This seems likely to be a problem either in the widget itself or in the MVC infrastructure (e.g., controller), rather than MVC generation.
Comment 4 Xiao Bin Chen CLA 2011-11-02 03:10:00 EDT
fixed.

The long blank empty line is because IE display multiple empty line if no <option></option> in tag <select></select>. So I think it works fine.

The error Scott mentioned was fixed, added null check of values in egl widget combo.
Comment 5 fahua jin CLA 2011-11-04 01:34:24 EDT
Verified in 0.7.0.v201111032101.