Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Paul de Monchy
Votes: 0
Watchers: 0

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

Application identity type & inheritance : can't fetch superclass instances with getObjectById()

Created: 28/Mar/12 09:26 PM   Updated: 06/Apr/12 05:52 PM   Resolved: 31/Mar/12 12:26 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.1.0.m2

File Attachments: 1. Zip Archive (5 kB)

Environment: MacOS/Linux

Datastore: MongoDB
Severity: Development

 Description  « Hide
In case of using application identity type & inheritance, superclass instances cannot be retrieved correctly.
2 use-cases identified:
- when the getObjectById() method is called
- when a field is a collection of superclassed-type instances

More details in the test case.

Thank you.


Sort Order: Ascending order - Click to sort in descending order
Paul de Monchy added a comment - 29/Mar/12 10:19 AM
Concerning the affected version, it has been tested with the last 3.1.0-m2 nightly built version (2012-03-29).

Andy Jefferson added a comment - 31/Mar/12 12:26 PM
SVN trunk supports inheritance determination of object ids

Paul de Monchy added a comment - 02/Apr/12 10:36 AM
That's absolutely perfect.
Thanks a lot !