Issue Details (XML | Word | Printable)

Key: NUCCORE-909
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Core

Lookup of object for id can return incorrect result when passing in class and checkInheritance=true

Created: 16/Sep/12 10:47 AM   Updated: 24/Sep/12 02:39 PM   Resolved: 16/Sep/12 10:48 AM
Component/s: Persistence
Affects Version/s: 3.1.0.release
Fix Version/s: 3.1.2


 Description  « Hide
The code in ObjectManagerImpl.findObject can return incorrect class-level when passing in the "cls" as well as checkInheritance=true since after doing the inheritance lookup it doesn't update the "cls" to this new class.

Andy Jefferson made changes - 16/Sep/12 10:48 AM
Field Original Value New Value
Fix Version/s 3.1.2 [ 11631 ]
Affects Version/s 3.1.0.release [ 11261 ]
Andy Jefferson added a comment - 16/Sep/12 10:48 AM
SVN trunk fixes this

Andy Jefferson made changes - 16/Sep/12 10:48 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 24/Sep/12 02:39 PM
Status Resolved [ 5 ] Closed [ 6 ]