Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341381 - MarshalNullRepresentation ignored for Direct Mapping with DocumentPreservation
Summary: MarshalNullRepresentation ignored for Direct Mapping with DocumentPreservation
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-03-30 11:28 EDT by Matt MacIvor CLA
Modified: 2022-06-09 10:33 EDT (History)
0 users

See Also:


Attachments
Proposed Fix and Tests (27.56 KB, patch)
2011-04-14 16:20 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-03-30 11:28:01 EDT
When marshalling using the document preservation/binder code path, the null representation from the NullPolicy is not currently used.

This seems to be a problem only for XMLDirectMapping. The null policy's marshal representation is taken into account for XMLCompositeDirectCollectionMapping.
Comment 1 Matt MacIvor CLA 2011-04-14 16:20:13 EDT
Created attachment 193294 [details]
Proposed Fix and Tests
Comment 2 Matt MacIvor CLA 2011-04-14 16:23:32 EDT
Attached patch checked in to SVN
Reviewed by Denise Smith
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:14:48 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:33:50 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink