• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Cannot obtain globalId for an object in savaChanges
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Cannot obtain globalId for an object in savaChanges


  • Subject: RE: Cannot obtain globalId for an object in savaChanges
  • From: Federico Hernandez <email@hidden>
  • Date: Tue, 11 Mar 2008 08:56:03 -0600
  • Importance: Normal

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: webobjects-dev-bounces+fhernandez=email@hidden [mailto:webobjects-dev-bounces+fhernandez=email@hidden] 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(NSNotificationCenter.java:562)

       at com.webobjects.eoaccess.EODatabaseContext.commitChanges(EODatabaseContext.java:6373)

       at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Cannot obtain globalId for an object in savaChanges (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Proble with tutorial
  • Next by Date: Re: Bug of the ComponentContent UTF-8
  • Previous by thread: Re: Cannot obtain globalId for an object in savaChanges
  • Next by thread: Re: Cannot obtain globalId for an object in savaChanges
  • Index(es):
    • Date
    • Thread