Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359503 - Can NOT define Record Entity in EDT
Summary: Can NOT define Record Entity in EDT
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P1 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 22:14 EDT by Yu Hao CLA
Modified: 2017-02-23 14:18 EST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yu Hao CLA 2011-09-29 22:14:13 EDT
Build Identifier: 201109292101

Define a Record Entity in EDT project, there will fire a generation error

Reproducible: Always

Steps to Reproduce:
1.Create a Record Entity in an EDT project
package aa;


record ttt type Entity

    itemName string;
	itemid	int;
end

2.There will fire an error:
Description	Resource	Path	Location	Type
IWN.JavaGen.9998.e 0/0 Exception occurred: No such method genSuperClass(org.eclipse.edt.mof.egl.impl.StereotypeImpl, org.eclipse.edt.gen.java.Context, org.eclipse.edt.mof.codegen.api.TabbedWriter, ) for any template for Class org.eclipse.edt.mof.egl.impl.StereotypeImpl	ttt.egl	/ttt/EGLSource/aa	line 0	EDT Generation Problem

3.
Comment 1 Jeff Douglas CLA 2011-10-01 09:34:47 EDT
This logic is fixed, however there is 1 question that needs to be answered before all of the java generation errors will be fixed.

for record x type entity,

what is the generated class for x supposed to extend, if anything?
Comment 2 Kathy Carroll CLA 2011-10-03 09:39:19 EDT
With build 201110012101 this also applies to the basicHandler as well.

handler Simple type ENTITY 
end
Comment 3 Jeff Douglas CLA 2011-10-03 14:48:53 EDT
I have fixed the record type entity. The handler type entity needs to be fixed.
Comment 4 Jing Qian CLA 2011-10-03 16:05:37 EDT
Lower the severity, but it is P1(must fix for 070) for Handler
Comment 5 Jeff Douglas CLA 2011-10-04 09:50:52 EDT
fixed
Comment 6 Yu Hao CLA 2011-10-12 22:48:11 EDT
verified in 201110120952