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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/yoann.gini%40inig-services.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]