Re: CoreData "Could Not Merge Changes"
Re: CoreData "Could Not Merge Changes"
- Subject: Re: CoreData "Could Not Merge Changes"
- From: Jesse Grosjean <email@hidden>
- Date: Tue, 16 Aug 2005 13:27:44 -0400
What's curious is that it does not occur if you go through the
sequence "manually" (IIUC):
I think this is because undo groups aren't getting setup properly. I
can reproduce the problem in code if I wrap my changes in undo groups
like this:
[undoManager beginUndoGrouping];
// insert object
[managedObjectContext processPendingChanges];
[undoManager endUndoGrouping];
[undoManager beginUndoGrouping];
// set attribute on object
[managedObjectContext processPendingChanges];
[undoManager endUndoGrouping];
Jesse
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden