| Summary: | Invalid argument removing Map Sample Portal in PortalSample | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | broy2 |
| Component: | EDT | Assignee: | Project Inbox <edt.website-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | hjiyong, svihovec |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
This appears to be an IE only bug. Can you try this in RBD? This seems to be related to the Map widget. The following code fails as well (only in IE):
handler H3 type RUIhandler{initialUI =[ui
], onConstructionFunction = start, cssFile = "css/P1.css", title = "H3"}
map GoogleMap { center = "NYC, NC", width = 498, height = 400 };
ui Box{children = [map, button]};
button Button{text = "go", onClick ::= removeMap};
function start()
end
function removeMap(e Event in)
ui.removeChild(map);
end
end
Since this is seems to be a Map widget problem, I am moving this to the Website component.
Brenda, can you try this again? It doesn't seem to be happening for me anymore. I wonder if it was fixed indirectly by another JS Generation or Widget change. Works in GM build. Verified in GM build. |
Import org.eclipse.edt.rui.dojo.samples_0.7.0. Open PortalSample in utils.portal. Preview. Click Add2. Map Sample Portlet displays. Click Remove Last. Invalid argument. intl/en_us/mapfiles/api-3/7/1/main.js:1 [CRRUI2094E] Here are the EGL function calls leading to this error: org/eclipse/edt/rui/widgets/Box.egl() at line 120 org/eclipse/edt/rui/widgets/Box.egl() at line 52 org/eclipse/edt/rui/widgets/Box.egl() at line 115 utils/portal/Portal.egl() at line 120 utils/portal/PortalSample.egl() at line 88 DojoButton.DojoButton.handleEvent() [native JavaScript]