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

Bug 356882

Summary: Handler contains primitive types cannot be displayed in the VE
Product: z_Archived Reporter: fahua jin <jinfahua>
Component: EDTAssignee: Huang Ji Yong <hjiyong>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh, huozz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
The handler cannot be displayed in the VE. none

Description fahua jin CLA 2011-09-06 23:29:10 EDT
Build Identifier: 0.7.0.v201109061723

Please refer to the attached handler, it cannot be displayed in the VE.

Reproducible: Always
Comment 1 fahua jin CLA 2011-09-06 23:29:57 EDT
Created attachment 202854 [details]
The handler cannot be displayed in the VE.
Comment 2 Huo Zhen Zhong CLA 2011-09-08 01:57:31 EDT
It is caused by JS Generator problem:

Could not render UI
TypeError: Cannot call method 'currentDate' of undefined at [object Object].eze$$setInitial (Handler2.js:54:56) at new (Handler2.js:5:9) at [object Object].eze$$thisClass (egl.js:800:27) at Handler2.html?contextKey=15:77:22 at Function.eze$$loadScripts (Handler2.html?contextKey=15:53:3) at Handler2.html?contextKey=15:51:43 at HTMLScriptElement. (Handler2.html?contextKey=15:39:4)

Cannot call method 'currentDate' of undefined
[CRRUI2094E] Here are the EGL function calls leading to this error:

    Widget.Widget.getStyle() [native JavaScript]
    Widget.Widget.setDisplayStyle() [native JavaScript]

Uncaught TypeError: Cannot call method 'currentDate' of undefined
Test/com/Handler2.html?contextKey=15:95
[CRRUI2095E] Could not find the EGL function calls leading to this error
Comment 3 Huang Ji Yong CLA 2011-09-28 23:32:52 EDT
Resolve indirectly.
The test case has a syntax error. line 14 should be
anyType any?;
Comment 4 fahua jin CLA 2011-09-29 22:47:10 EDT
Verified in 0.7.0.v201109292101