| Summary: | Exception during marshal and unmarshal with XmlValue on a collection or array | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Denise Smith <denise.mahar> | ||||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | blaise.doughan, eclipselink.oxm-inbox | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
Created attachment 203504 [details]
2.3 patch
Created attachment 203505 [details]
2.4 patch
Created attachment 203506 [details]
2.3 patch
Fixed in MappingsGenerator to turn on usesSingleNode on a CompositeDirectCollectionMapping if an XmlValue annotation is on a List property. The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
To reproduce this run the following tests org.eclipse.persistence.testing.jaxb.externalizedmetadata.xmlvalue.XmlValueInternationalPricesTestCases and org.eclipse.persistence.testing.jaxb.externalizedmetadata.xmlvalue.XmlValueCdnPricesTestCases When fixed uncomment the following lines in ExternalizedMetadataTestSuite //suite.addTestSuite(XmlValueInternationalPricesTestCases.class); //suite.addTestSuite(XmlValueCdnPricesTestCases.class); Currently there is a NPE during marshal operations and nothing is read in during the unmarshal.