Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325353 - Usability Issue - Error Message when using DataObject from another HelperContext
Summary: Usability Issue - Error Message when using DataObject from another HelperContext
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-09-15 10:07 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:31 EDT (History)
2 users (show)

See Also:


Attachments
Proposed changes and test (15.16 KB, patch)
2011-04-18 11:49 EDT, Denise Smith 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-09-15 10:07:40 EDT
When a DataObject is created in one HelperContext and then used with a Helper from another HelperContext we throw an Exception such as "no such descriptor".  We should throw a better exception in this cases informing the user that they are trying to use a DataObject from an incorrect HelperContext.
Comment 1 Denise Smith CLA 2011-04-18 11:49:28 EDT
Created attachment 193495 [details]
Proposed changes and test
Comment 2 Denise Smith CLA 2011-04-18 13:20:44 EDT
Added new SDOException to handle this case.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:31:12 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink