• 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 silently failing to insert?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData silently failing to insert?


  • Subject: Re: CoreData silently failing to insert?
  • From: Ben Trumbull <email@hidden>
  • Date: Tue, 27 Jan 2009 15:07:51 -0800

Not much to go on here. Deletes cancel out inserts, so that could remove them from the inserted list. If you delete an owning object that has a cascade deletion relationship to those objects, they'll get nuked. If you call -refreshObject:mergeChanges:NO on an object with pending changes, you will be extremely unhappy. If you have a merge policy set, it's possible another context vetoed the changes (via a cascade delete rule, typically)

A minimal sample Xcode project with source that reproduces your problem would be ideal. Those bugs get fixed faster. Otherwise, zip up whatever you feel comfortable sending to Apple. bugreport.apple.com

- Ben

_______________________________________________

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


  • Prev by Date: Re: [Q] disposing of a stream object when NSStreamEventEndEncounterered is received?
  • Next by Date: Re: Is there a more efficient way to get the first 4 bytes off a NSInputStream to compare
  • Previous by thread: [SOLVED] Re: CoreData silently failing to insert?
  • Next by thread: Is there a more efficient way to get the first 4 bytes off a NSInputStream to compare
  • Index(es):
    • Date
    • Thread