Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356591

Summary: Duplicate element generate when subclass overrides abstract parent property
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipselink.oxm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Code demonstrating the bug
none
Proposed change and new test none

Description Blaise Doughan CLA 2011-09-02 09:23:55 EDT
When a parent contains abstract get/set methods that are overridden in the child class the property is being generated twice the resulting XML Schema (once in parent, and once in child).  It should only be generated in the parent.
Comment 1 Blaise Doughan CLA 2011-09-02 09:26:52 EDT
Created attachment 202670 [details]
Code demonstrating the bug
Comment 2 Denise Smith CLA 2011-09-02 10:15:03 EDT
Works in 2.3 and 2.4
Comment 3 Denise Smith CLA 2011-09-02 11:26:49 EDT
Created attachment 202682 [details]
Proposed change and new test
Comment 4 Denise Smith CLA 2011-09-13 11:27:13 EDT
Fixed as per patch.
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:33:40 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink