Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358327 - Value cannot be displayed in Combox widget for string type created by EGL Data view
Summary: Value cannot be displayed in Combox widget for string type created by EGL Dat...
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: Huang Ji Yong CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 22:18 EDT by fahua jin CLA
Modified: 2017-02-23 14:17 EST (History)
5 users (show)

See Also:


Attachments
screen shot (39.04 KB, image/jpeg)
2011-10-13 02:26 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-20 22:18:02 EDT
Build Identifier: 0.7.0.v201109192102

1) Create an RUI handler in a new created workspace - only import the RUI widgets libraries.
2) Define a string variable and initialize it with value in the RUIHandler. For example, stringType string = "Hello string";
3) In the design pane, drag the string variable to the editor, and select the Combox as the widget for the variable.
4) The value cannot be displayed in the design pane.

Reproducible: Always
Comment 1 Huo Zhen Zhong CLA 2011-10-10 02:27:13 EDT
MVC is not ready, retest it when MVC is ready
Comment 2 Brian Svihovec CLA 2011-10-12 17:09:08 EDT
How does RBD handle this situation?
Comment 3 Huo Zhen Zhong CLA 2011-10-13 02:26:04 EDT
Created attachment 205084 [details]
screen shot
Comment 4 Huo Zhen Zhong CLA 2011-10-13 02:29:10 EDT
In RBD, it shows well, but in EDT, it report mvc error. Please see screen shot. So change the owner to Scott.
Comment 5 Scott Greer CLA 2011-10-19 19:22:57 EDT
Afer fixing the MVC issue in 361333, I thought it would also fix this;  however, this appears to be an issue with the Combo widget itself.  The value used here "Hello string" isn't one of the pre-defined values on the combobox, so the getValueAsText fails.  I don't know whether this is new, possibly unintended behavior in EDT, but if I add "Hello String" to the values on the Combo, then it works.
Comment 6 Huang Ji Yong CLA 2011-10-20 01:47:52 EDT
I don't see the problem after the resolution of 361333
Comment 7 fahua jin CLA 2011-10-31 02:00:47 EDT
Verified in 0.7.0.v201110272101.