| Summary: | JavaScript generation errors on basic handler of type ENTITY | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | greer |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Kathy Carroll
As I understand it, ENTITY isn't supported in JS.... This is analogous to Java gen not supporting RUIHandlers; currently, it just does nothing for those kinds of EGL parts. There are two things that should be done for this bug: First, the reported symptom is caused by JS gen assuming that the only possible stereotype is RUIWidget; I've already developed a fix for that (as well as a similar fix for RUIHandler). Second, we need to find some mechanism by which a generator can identify parts for which it should not emit anything; we should also consider whether this should result in a warning or informational message. Regarding the previous comment, I'm committing the first part of the fix, however, I was unable to come up with a mechanism for the first part. So I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=360973 to cover that issue separately. As a result, JS gen will no longer fail on Entity parts, however, the resulting JS is obviously meaningless (even if it is syntactically correct). Verfied with build 201110170901 & closed. |