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

Bug 341381

Summary: MarshalNullRepresentation ignored for Direct Mapping with DocumentPreservation
Product: z_Archived Reporter: Matt MacIvor <matt.macivor>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed Fix and Tests none

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