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: Thu, 29 Sep 2011 14:56:46 -0700
On 2011 Sep 29, at 11:20, Quincey Morris wrote:
> I'm pretty sure (though I never really thought about it before today) that Core Data undo *doesn't* work across 'save:' boundaries. The documentation for [NSManagedObjectContext undo:]…
> If I'm right, you should be clearing the undo stack at a save, at least if there are deleted objects in the picture.
My jaw has been on the floor for the last half hour. I removed the 'save' line from my AppleScript, and my corner case executed 36 times with no trouble.
I think you might be correct. This has huge implications. I shall explain after further study.
_______________________________________________
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