Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332230 - XMLCompositeObjectMapping: Self mapping to node doesn't write out attributes
Summary: XMLCompositeObjectMapping: Self mapping to node doesn't write out attributes
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: 2010-12-09 13:04 EST by Matt MacIvor CLA
Modified: 2022-06-09 10:23 EDT (History)
0 users

See Also:


Attachments
proposed fix (15.42 KB, patch)
2010-12-09 13:34 EST, 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 2010-12-09 13:04:17 EST
When using an xpath of '.' on a CompositeObjectMapping with a KeepAsElementPolicy, the attributes from the node should be marshalled out. These are being omitted in the marshalSelfAttributes method on XMLCompositeObejctMappingNodeValue
Comment 1 Matt MacIvor CLA 2010-12-09 13:34:58 EST
Created attachment 184883 [details]
proposed fix
Comment 2 Matt MacIvor CLA 2010-12-09 15:02:05 EST
Attached patch checked in to SVN
Reviewed by Blaise Doughan
Comment 3 Matt MacIvor CLA 2010-12-09 15:03:14 EST
closing as fixed
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:23:54 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink