I'm not responding to the notification. I only override methods like
didDelete, didInsert, didRevert, didUpdate in my EO classes.

No, I don't think so, in my EO model only there're delete rules when it
deletes an EO.

I suppose that the remove is because in second EC there's a deleted
EOOccurrence

 

Federico

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Mike Schrag
Sent: Lunes, 10 de Marzo de 2008 09:44 p.m.
To: AppleWO List
Subject: Re: Cannot obtain globalId for an object in savaChanges

 

       at
com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificati
onCenter.java:562)

       at
com.webobjects.eoaccess.EODatabaseContext.commitChanges(EODatabaseContext.ja
va:6373)

       at
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContex
t(EOObjectStoreCoordinator.java:386)

       at
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:
3176)

       at er.extensions.ERXEC._saveChanges(ERXEC.java:937)

       at er.extensions.ERXEC.saveChanges(ERXEC.java:860)

       at com.qoslabs.tm.wo.TMTransaction.commit(TMTransaction.java:82)

It looks like you're responding to EOGlobalIDChangedNotification and then
doing other database operations?  Can you explain a bit about what exactly
you're doing?

After talking with Chuck, I'm realizing that this might be totally internal
to EOF and I'm just seeing EOF call the methods of your objects ... Are
there delete rules firing as part of this update?

 

ms

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to