Hi Andrey. Please file a new bug in the datanucleus-appengine issue tracker and indicate in the bug whether you're seeing this in the local environment, production, or both.
http://code.google.com/p/datanucleus-appengine/issues/list Thanks, - Jason On Tue, Dec 22, 2009 at 2:05 PM, ailinykh <[email protected]> wrote: > Hello, everybody! > I've got very strange behavior. > I have > > class Account{ > @Persistent(mappedBy="account") > List<Phone> phones = new ArrayList<Phone>(); > } > > and > > class Phone { > @Persistent > Account account; > } > > I added 2 phones into list, so phones = [phone1, phone2] > > then I call > Phone p1 = phones.remove(0); > Phone p2 = phones.remove(0); > > First at all, p1 = p2 = phone1. > debugger shows empty phone list- phones =[] > but if I save Account object and then restore it, phones is not empty, > it has one object phones=[phone2] > > If I remove them by this way > Phone p1 = phones.remove(1); > Phone p2 = phones.remove(0); > or > phones.clear(); > > Everything is correct. > Is it a bug? > > Thank you, > Andrey > > > > -- > > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
