Issue Details (XML | Word | Printable)

Key: NUCMONGODB-73
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Paul de Monchy
Votes: 0
Watchers: 0
Operations

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 MongoDBIssue.zip (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.
Regards.

Paul.

Paul de Monchy made changes - 28/Mar/12 09:27 PM
Field Original Value New Value
Attachment MongoDBIssue.zip [ 11631 ]
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

Andy Jefferson made changes - 31/Mar/12 12:26 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.1.0.m2 [ 11508 ]
Resolution Fixed [ 1 ]
Paul de Monchy added a comment - 02/Apr/12 10:36 AM
That's absolutely perfect.
Thanks a lot !

Regards,

Paul.

Andy Jefferson made changes - 06/Apr/12 05:52 PM
Status Resolved [ 5 ] Closed [ 6 ]