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

2024-06-09 Thread OCsite via Webobjects-dev
> ends. Then unlock EC1 > 8. finally, in an unrelated EC3 insert some unrelated new object and > saveChanges... > > ... and at least at my side, I get “Cannot obtain globalId for an object > which is registered in an other than the databaseContext's active > editingContex

[POSSIBLY SOLVED]: Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext

2024-06-08 Thread ocs--- via Webobjects-dev
d EC3 insert some unrelated new object and saveChanges... ... and at least at my side, I get “Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext“ exception all right! I believe the steps above are completely valid and should

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

2024-06-07 Thread ocs--- via Webobjects-dev
Hi there, again in about 2 years the $subject did happen: “Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext, object: [USER#1000175@EC:34ea315d/OSC:77b7ffa4], databaseContext: com.webobjects.eoaccess.EODatabaseContext@51

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
com" > Subject: Cannot obtain globalId for an object which... > > > Hi all, > > All of a sudden one of our apps started getting this. Does anybody know why > this would happen? It did not seem to have a problem before until now. > > Cannot obtain global

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

2016-09-20 Thread Chuck Hill
e.com" Subject: Cannot obtain globalId for an object which... Hi all, All of a sudden one of our apps started getting this. Does anybody know why this would happen? It did not seem to have a problem before until now. Cannot obtain globalId for an object which is registered in an othe

Cannot obtain globalId for an object which...

2016-09-20 Thread Ricardo Parada
Hi all, All of a sudden one of our apps started getting this. Does anybody know why this would happen? It did not seem to have a problem before until now. Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext, o

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
- 1: INSERT on 'DBUserAuction' 4{creationDate:2015-02-25 10:00:19 Etc/GMT, user_id:142, auction_id:1000260, favourited:false} - 2: UPDATE on 'DBAuction' ((uid = 1000260) and (commodityPriceSelectionType = 1040355)) 1{commodityTimechunksString:} cannot save changes: Cannot obt

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

2015-02-25 Thread OC
tion_id:1000260, favourited:false} - 2: UPDATE on 'DBAuction' ((uid = 1000260) and (commodityPriceSelectionType = 1040355)) 1{commodityTimechunksString:} cannot save changes: Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingConte

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

2009-03-03 Thread Lachlan Deck
On 04/03/2009, at 5:45 AM, Simon McLean wrote: i guess we were breaking one of the wo-commandments somewhere in there, but i've been through it over and over again and can't see where the second ec was getting created. Probably the willInsert's object's ec which still has the lock? with r

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

2009-03-03 Thread Simon McLean
>> favorite ERXFetchSpecificationBatchIterator. >> > > Good. > > However, when I call this (in >> place of the above): >> >> ERXFetchSpecificationBatchIterator fsbi = >> newERXFetchSpecificationBatchIterator(fs, ec); >> >> I get

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

2009-03-02 Thread Lachlan Deck
: Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext, object: Stormking Ltd 70 er.extensions.eof.er...@7e9482, databaseContext: er.extensions.eof.erxdatabasecont...@d6db5b, object's editingContext: er.ex

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

2009-03-02 Thread Simon McLean
onBatchIterator fsbi = newERXFetchSpecificationBatchIterator(fs, ec); I get an immediate exception: java.lang.IllegalStateException: Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext, object: Stormking Ltd 70 er.extensions.eof.er..

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
use this - are you using the shared EC? - relationships that cross editing contexts will always cause this - there ARE two ECs involved: Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext, object:

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
auto-locking turned on. [2/18/09 9:22:30:975 MST] 008d SystemOut O 3251000 [WebContainer : 5] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.IllegalStateException: Cannot obtain globalId for an object which is registered in an other than the data

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
9:22:30:975 MST] 008d SystemOut O 3251000 [WebContainer : 5] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.IllegalStateException: Cannot obtain globalId for an object which is registered in an other than the databaseContext's

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

2009-02-18 Thread Bill Gallop
ng as a servlet with concurrent request handling and auto-locking turned on. [2/18/09 9:22:30:975 MST] 008d SystemOut O 3251000 [WebContainer : 5] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.IllegalStateException: Cannot obtain globalId for an object wh