• 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
Re: CoreData "Could Not Merge Changes"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: drop down menu in the toolbar
  • Next by Date: Re: path name from Apple Event
  • Previous by thread: Re: CoreData "Could Not Merge Changes"
  • Next by thread: NSTableView, bindings, and a background color
  • Index(es):
    • Date
    • Thread