Issue Details (XML | Word | Printable)

Key: NUCCORE-998
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Minor Minor
Assignee: Unassigned
Reporter: Stephen More
Votes: 0
Watchers: 0
Operations

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

JDOReplicationManager fails with complex object graph

Created: 08/Feb/13 10:24 PM   Updated: 21/May/14 05:09 PM   Resolved: 19/May/14 07:41 PM
Component/s: None
Affects Version/s: 3.2.0.m3
Fix Version/s: None

File Attachments: 1. Zip Archive NUCCORE-998.zip (7 kB)



 Description  « Hide
JDOReplicationManager is not able to replicate my object graph. I have tried replicating between the same db and different dbs. It still fails.

See forum: http://www.datanucleus.org/servlet/forum/viewthread_thread,7438#36673

I have created a test case that replicates this issue.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 12/Feb/13 10:25 AM
you could easily enough debug the issue. JDOReplicationManager is simply 2 PMFs, detaching a graph from one and attaching to the other, consequently it is trivial to simulate in your own code without using this convenience class

Stephen More added a comment - 12/Feb/13 06:45 PM
From what I could tell, the retrieve on the source did pull back the complete object graph. It is failing in the pm2.makePersistentAll method.

Should makePersistentAll succeeded on ANY object graph that was pulled out of a JDO datastore ?