| Summary: | Service call got error by simple service | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Xin Wu <cdlwuxin> |
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | CC: | cdlwuxin, greer |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Brian had found this problem yesterday, before this bug was opened, but I wasn't able to get the fix committed until this morning. This part needed some updates that were overlooked in the EglToEglx work.... Scott, It works fine now, thanks so much! Closing this defect. |
Build Identifier: 20110927 nightly build Service call got error by simple service Error message: [CRRUI1083E] got error when handling click event。 [CRRUI2002E] Button1_onClick h1 got error:'egl.egl.lang.EglAny' is null or not an object [CRRUI2094E] error caused by the following EGL function invocation: client/h1.egl() at line 29 Button.Widget.runEventHandlers() [native JavaScript] Reproducible: Always Steps to Reproduce: 1. Create new Web Client with Service project 2. Create service "s1.egl", add function function echo() returns(string) return("hello"); end 3. Configure service deployment and service binding in DD editor service binding information: Name(srv) URI(workspace://test/server.s1) 4. Create RUIHandler and drag button widgets to call the service 5. Add onclick & callback function function Button1_onClick(event Event in) call srv.echo() returning to CallBack; end function CallBack(str string in) TextField.text = str; end 6. Switch to preview, click the button got the error message attached above.