MountainClimb / datanucleus-appengine

Automatically exported from code.google.com/p/datanucleus-appengine
0 stars 0 forks source link

Related entity is not updated #243

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have the following JDO entity relationship:

Project --1:n List--> Group --1:1--> UrlSet --1:n List--> Url

I want to update the Url entities' fields, so I do this:

1. The Group entity is loaded and detached. (during this the Url objects are 
also fetched, as reachable via defaultFetchGroup)

2. The Url entities' members are changed.

3. Open a new transaction

4. call makePersistent()

pm.makePersistent(Group) --> does NOT update the Url entities
pm.makePersistent(UrlSet) --> does update the Url entities.

I would expect that the Url entities are updated in the datastore if I call the 
makePersistent() on the Group entity too. (as it is the case for other 
datastores in Datanucleus)

Affected version:
datanucleus-core: 1.1.5
datanucleus-appengine: 1.0.9

Original issue reported on code.google.com by testmail...@gmail.com on 24 Aug 2011 at 9:26

GoogleCodeExporter commented 8 years ago
Since you don't provide a testcase you are advised to try SVN trunk of this 
plugin.

Original comment by googleco...@yahoo.co.uk on 26 Aug 2011 at 6:03

GoogleCodeExporter commented 8 years ago

Original comment by googleco...@yahoo.co.uk on 23 Sep 2011 at 2:29

GoogleCodeExporter commented 8 years ago
Not enough information to reproduce was provided. Feel free to reopen if you 
can provide additional info.

Original comment by googleco...@yahoo.co.uk on 21 Jan 2012 at 4:38