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

Bug 326091

Summary: Variable 1-1 valueFromObject does not return class type value for type field
Product: z_Archived Reporter: David Minsky <david.minsky>
Component: EclipselinkAssignee: David Minsky <david.minsky>
Status: CLOSED FIXED QA Contact: Project Inbox <eclipselink.foundation-inbox>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed changes to EL foundation testing none

Description David Minsky CLA 2010-09-23 15:12:01 EDT
With a Variable 1-1 mapping, calling valueFromObject does not return the class type value for a passed type field. Instead, null will be returned.

03988833
Comment 1 David Minsky CLA 2010-09-23 15:34:46 EDT
Created attachment 179478 [details]
Proposed changes to EL foundation testing

This patch resolves the issue in VariableOneToOneMapping valueFromObject() by returning the correct cached type field value for the class of the mapping's referenced object.
Comment 2 David Minsky CLA 2010-09-23 15:35:11 EDT
Reviewed: James
Comment 3 David Minsky CLA 2010-09-23 17:10:51 EDT
Fixed in trunk r8236
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:05:41 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink