Re: Core Data : Undo Delete : Cannot fulfill a fault
Re: Core Data : Undo Delete : Cannot fulfill a fault
- Subject: Re: Core Data : Undo Delete : Cannot fulfill a fault
- From: Jerry Krinock <email@hidden>
- Date: Tue, 27 Sep 2011 09:56:11 -0700
On 2011 Sep 26, at 11:57, Dave Fernandes wrote:
> Does the deleted object have relationships?
Yes. The object is of entity Foo which are classic tree nodes. There is a root Foo; Foo objects have to-one parents and to-many children, etc.
> What is the state of those objects?
It's always the same "exceptional" object which whose deletion is unable to be undone because Core Data could not fulfill a fault. Its parent is an object that was not deleted and therefore does not need to be restored. It has one child which has already been successfully restored at the time the exception occurs.
I now have an AppleScript which reproduces the problem. The Core Data exception does not happen on every run, but on more than half.
_______________________________________________
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