
|
If you were logged in you would be able to see more operations.
|
|
|
| Datastore: |
MongoDB
|
| Severity: |
Development
|
|
This bug is viewable through the following 2-step process :
1) Persisting an object that contains a list of embedded element that are composed of persistent objects --> OK
2) Retrieving the list of embedded element --> NOK
Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to com.mongodb.DBObject
at org.datanucleus.store.mongodb.fieldmanager.FetchFieldManager.fetchObjectField(FetchFieldManager.java:383)
at org.datanucleus.state.AbstractStateManager.replacingObjectField(AbstractStateManager.java:2353)
...
|
|
Description
|
This bug is viewable through the following 2-step process :
1) Persisting an object that contains a list of embedded element that are composed of persistent objects --> OK
2) Retrieving the list of embedded element --> NOK
Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to com.mongodb.DBObject
at org.datanucleus.store.mongodb.fieldmanager.FetchFieldManager.fetchObjectField(FetchFieldManager.java:383)
at org.datanucleus.state.AbstractStateManager.replacingObjectField(AbstractStateManager.java:2353)
... |
Show » |
Sort Order:
|
If someone have any idea of a way of solving this issue, I would greatly appreciate ?
I have previously attached a test case that helps understanding the problem. Should you need any further information, don't hesitate.
Thanks in advance.
Best regards,
Paul.