Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356882 - Handler contains primitive types cannot be displayed in the VE
Summary: Handler contains primitive types cannot be displayed in the VE
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-06 23:29 EDT by fahua jin CLA
Modified: 2017-02-23 14:18 EST (History)
2 users (show)

See Also:


Attachments
The handler cannot be displayed in the VE. (621 bytes, application/octet-stream)
2011-09-06 23:29 EDT, fahua jin 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-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