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

[SOLVED] Re: CoreData silently failing to insert?


  • Subject: [SOLVED] Re: CoreData silently failing to insert?
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 28 Jan 2009 12:59:06 -0700

Thanks to everyone that responded. One off-list message I received made me think about the problem a little more, and after some debugging, I realized I had a PEBKAC problem on my hands. My app does some fetch requests to check on existing data in the database, compares it to what's in a non-CD model, and deletes objects if certain bits of data are missing. In this case, there are several data structures sharing a common entity. I just didn't count on - executeFetchRequest: searching both the persistent store and the objects that were inserted but not saved. D'oh! Making the predicate more discriminatory worked around this, and now all is well.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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


References: 
 >CoreData silently failing to insert? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: setIntercellSpacing
  • Next by Date: (no subject)
  • Previous by thread: Re: CoreData silently failing to insert?
  • Next by thread: Re: CoreData silently failing to insert?
  • Index(es):
    • Date
    • Thread