Re: Cannot obtain globalId for an object which...

2016-09-21 Thread Ricardo Parada
From: Ricardo Parada > Date: Tuesday, September 20, 2016 at 3:19 PM > To: Chuck Hill > Cc: "webobjects-dev@lists.apple.com" > Subject: Re: Cannot obtain globalId for an object which... > > Hi Chuck, > > I followed the steps of the code and I noticed that the obj

Re: Cannot obtain globalId for an object which...

2016-09-20 Thread Chuck Hill
cardo Parada Date: Tuesday, September 20, 2016 at 3:19 PM To: Chuck Hill Cc: "webobjects-dev@lists.apple.com" Subject: Re: Cannot obtain globalId for an object which... Hi Chuck, I followed the steps of the code and I noticed that the object containing the to-many relationship in qu

Re: Cannot obtain globalId for an object which...

2016-09-20 Thread Ricardo Parada
Hi Chuck, I followed the steps of the code and I noticed that the object containing the to-many relationship in question is being local instanced in a peer editing context. The to-many is still an array fault which has not been triggered. Then when the object in the original context has its to

Re: Cannot obtain globalId for an object which...

2016-09-20 Thread Chuck Hill
A full stack track would help. It sounds like your code is making a relationship between objects in different editing contexts. Did someone forget to add a “localInstance”? From: on behalf of Ricardo Parada Date: Tuesday, September 20, 2016 at 2:18 PM To: "webobjects-dev@lists.apple.com"

Re: Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext

2015-02-26 Thread Chuck Hill
On 2015-02-25, 9:56 AM, "OC" wrote: For a change, something pretty weird. Oh good! I was getting tired of the normal problems! :-P I've got a report with a log which includes === 25.2 11:00:21: about to perform 2 DB operations in er.extensions.eof.ERXEC@63be527e... - 1: INSERT on 'DBUserAuc

Re: Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext in _globalIDForObject

2009-02-18 Thread Chuck Hill
On Feb 18, 2009, at 2:56 PM, Miguel Arroz wrote: Hi! I have seen this behavior when I screwed up some locking stuff. Make sure: 1) All the contexts you are working with are locked, and locked by the proper thread. 2) Never, ever, share contexts between sessions. It might appear

Re: Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext in _globalIDForObject

2009-02-18 Thread Miguel Arroz
Hi! I have seen this behavior when I screwed up some locking stuff. Make sure: 1) All the contexts you are working with are locked, and locked by the proper thread. 2) Never, ever, share contexts between sessions. It might appear it's working fine. Well, it's not. It will fail. Re

Re: Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext in _globalIDForObject

2009-02-18 Thread David Avendasora
Hi Bill, Is it possible that there are objects that aren't in _any_ EditingContext? Created but not inserted? That can cause some really crazy stuff. Dave On Feb 18, 2009, at 5:19 PM, Bill Gallop wrote: Hello all, We're seeing this really weird behaviour in our applications from time