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

Bug 355144

Summary: CompositeObjectMapping to "." with Null Ref Descriptor incorrectly unmarshals to node
Product: z_Archived Reporter: Matt MacIvor <matt.macivor>
Component: EclipselinkAssignee: Matt MacIvor <matt.macivor>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
propsed fix and tests none

Description Matt MacIvor CLA 2011-08-18 14:35:35 EDT
Given this scenario, when initializing the root record, the nested "self" record gets initialized before the attributes have been set. Since the self record may need the attributes to determine it's own type, or for some mapped attributes, the attributes should be set before the self records are initialized.
Comment 1 Matt MacIvor CLA 2011-08-19 14:57:14 EDT
Created attachment 201828 [details]
propsed fix and tests
Comment 2 Matt MacIvor CLA 2011-08-19 15:12:43 EDT
Attached patch checked in to SVN
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:10:27 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink