Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355687 - Generation error with widgets
Summary: Generation error with widgets
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 06:47 EDT by Huo Zhen Zhong CLA
Modified: 2017-02-23 14:20 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Huo Zhen Zhong CLA 2011-08-24 06:47:40 EDT
Build Identifier: 2011-08-24

New a RUI handler, dnd the widget from Palette, most widgets has generation errors. For example, the Button error shows below:

Uncaught SyntaxError: Unexpected string
Test/org/eclipse/edt/rui/widgets/Button.js:137
[CRRUI2094E] Here are the EGL function calls leading to this error:

    Internal error while defining RUIHandler com.ibm.TestHandler() [native JavaScript]

Could not render UI
TypeError: Cannot read property 'eclipse' of undefined at [object Object].eze$$setInitial (TestHandler.js:18:30) at new (TestHandler.js:5:9) at [object Object].eze$$thisClass (egl.js:800:27) at TestHandler.html?contextKey=5:75:22 at Function.eze$$loadScripts (TestHandler.html?contextKey=5:51:3) at TestHandler.html?contextKey=5:49:43 at HTMLScriptElement. (TestHandler.html?contextKey=5:37:4)

Cannot read property 'eclipse' of undefined
[CRRUI2094E] Here are the EGL function calls leading to this error:

    Person.<init>() [native JavaScript]
    com/ibm/TestHandler.egl() at line 13
    TestHandler.<init>() [native JavaScript]

Uncaught TypeError: Cannot read property 'eclipse' of undefined
Test/com/ibm/TestHandler.html?contextKey=5:93
[CRRUI2095E] Could not find the EGL function calls leading to this error

Reproducible: Always
Comment 1 Scott Greer CLA 2011-08-24 22:38:08 EDT
Button and other widgets were generating correctly before all the language changes; I've spent the last two days working methodically through the problems in JavaScript gen and am now able to gen & execute the old FVT tests again.  This will enable me to focus on this and other problems related to the widgets in the coming days....
Comment 2 Huo Zhen Zhong CLA 2011-08-24 23:23:35 EDT
Hi, Scott

Glade to hear the progress. Now we need the GridLayout, Button, inputText to go through a simple test. Could you focus on the three widgets and commit asap? Thanks
Comment 3 Scott Greer CLA 2011-09-11 13:04:51 EDT
Tony,

Since this bug is a little old and not very specific, I'm going to mark it resolved.  Please open specific bugs if there are still problems....thanks!
Comment 4 Huo Zhen Zhong CLA 2011-09-30 02:20:10 EDT
verified in 201109292101
Comment 5 Huo Zhen Zhong CLA 2011-09-30 02:20:33 EDT
close