Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356591 - Duplicate element generate when subclass overrides abstract parent property
Summary: Duplicate element generate when subclass overrides abstract parent property
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-02 09:23 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:33 EDT (History)
1 user (show)

See Also:


Attachments
Code demonstrating the bug (1.38 KB, application/x-zip-compressed)
2011-09-02 09:26 EDT, Blaise Doughan CLA
no flags Details
Proposed change and new test (10.54 KB, patch)
2011-09-02 11:26 EDT, Denise Smith CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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