• 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
[SOLVED - But an other question]: CoreData, failed to process pending changes before save.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED - But an other question]: CoreData, failed to process pending changes before save.


  • Subject: [SOLVED - But an other question]: CoreData, failed to process pending changes before save.
  • From: Yoann GINI <email@hidden>
  • Date: Tue, 8 Jul 2008 15:41:46 +0200

I've solve my problem due to a saving operation in the NSManagedObjectContextObjectsDidChangeNotification notification. Actually I use the NSManagedObjectContextDidSaveNotification for my test, but this notification is send only when the save action is done.

I would me notified for each changement in my base, even if is not saved... Do you know if they have a way for know when an ManagedObject is created/edited/deleted ?

Le 8 juil. 08 à 09:03, Yoann GINI a écrit :

Hi all,

I work actually on CoreData with many loop for operate on ManagedObjects. When I try to save my ManagedObjectContext I obtain this error :

"Failed to process pending changes before save. The context is still dirty after 100 attempts. Typically this recursive dirtying is caused by a bad validation method, -willSave, or notification handler."

And I don't know why ! Maybe someone can say to me the significant of this message ? Or the typical error for operate in a loop ?

For information about the context, I will try to log in my data base all modification, for do that I use the NSManagedObjectContextObjectsDidChangeNotification notification and I add a ManagedObject of kind "Modification" with informations per final entry in userInfo. Of course if the final entry is of kind "Modification" I don't do anything.

Best regards,
Yoann.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >CoreData, failed to process pending changes before save. (From: Yoann GINI <email@hidden>)

  • Prev by Date: Re: Calculating accurate bounds of stroked paths
  • Next by Date: iPhone SDK and sms.db file
  • Previous by thread: CoreData, failed to process pending changes before save.
  • Next by thread: Proposal for metadata interoperability on OS X
  • Index(es):
    • Date
    • Thread