Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355144 - CompositeObjectMapping to "." with Null Ref Descriptor incorrectly unmarshals to node
Summary: CompositeObjectMapping to "." with Null Ref Descriptor incorrectly unmarshals...
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: Matt MacIvor CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-18 14:35 EDT by Matt MacIvor CLA
Modified: 2022-06-09 10:10 EDT (History)
0 users

See Also:


Attachments
propsed fix and tests (10.99 KB, patch)
2011-08-19 14:57 EDT, Matt MacIvor CLA
no flags Details | Diff

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