Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313631 - SDO de-serialization fails when an attachment marshaller is set.
Summary: SDO de-serialization fails when an attachment marshaller is set.
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: Blaise Doughan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-19 17:29 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:10 EDT (History)
1 user (show)

See Also:


Attachments
SDO - Test Cases (6.24 KB, patch)
2010-05-19 17:41 EDT, Blaise Doughan CLA
no flags Details | Diff
SDO - Fix (7.05 KB, patch)
2010-05-19 17:41 EDT, Blaise Doughan CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Blaise Doughan CLA 2010-05-19 17:29:52 EDT
The SDO serialization algoritm uses XMLHelper to save the DataObject as XML.  If an XMLAttachmentMarshaller is set then XML message will contain hooks for the binary attachments.  Then de-serialzation fails as there is no corresponding XMLAttachmentUnmarshaller.

For the purposes of RMI serialzation the DataObject should not use attachments.
Comment 1 Blaise Doughan CLA 2010-05-19 17:41:03 EDT
Created attachment 169231 [details]
SDO - Test Cases
Comment 2 Blaise Doughan CLA 2010-05-19 17:41:42 EDT
Created attachment 169232 [details]
SDO - Fix
Comment 3 Blaise Doughan CLA 2010-05-19 19:00:01 EDT
Fix checked into 1.2.1 at rev: 7285
Fix checked into 2.0.3 at rev: 7284
Fix checked into trunk at rev: 7283

For serialization force XMLHelper not to use XMLAttachmentMarshaller
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:03:46 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:10:58 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink