• 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: Core Data: Error while saving. Multiple validation errors occurred.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data: Error while saving. Multiple validation errors occurred.


  • Subject: Re: Core Data: Error while saving. Multiple validation errors occurred.
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 14 Dec 2010 12:49:35 -0700

On Dec 14, 2010, at 12:21 PM, Ayers, Joseph wrote:

>> I changed a couple attributes of three properties in my data model. Even if I trash the previous store, I get the error:
>> Error while saving
>> Multiple validation errors occurred.
>>
>> Any idea what is causing this

Usually it happens because you tried to add or modify several records at once and did not push a value for a required property in more than one of them. I think that error also happens if you left a dangling reference in a relationship property for more than one record.

>> or where to look for a fix?

Check the error's userInfo for more information about what went wrong. The userInfo dictionary will contain more specific information about what went wrong.

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

  • Follow-Ups:
    • Re: Core Data: Error while saving. Multiple validation errors occurred.
      • From: "Ayers, Joseph" <email@hidden>
References: 
 >Core Data: Error while saving. Multiple validation errors occurred. (From: "Ayers, Joseph" <email@hidden>)

  • Prev by Date: Core Data: Error while saving. Multiple validation errors occurred.
  • Next by Date: Using MPMediaPickerController in landscape mode - iPhone
  • Previous by thread: Core Data: Error while saving. Multiple validation errors occurred.
  • Next by thread: Re: Core Data: Error while saving. Multiple validation errors occurred.
  • Index(es):
    • Date
    • Thread