• 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: Saving Managed Object Context
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving Managed Object Context


  • Subject: Re: Saving Managed Object Context
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 23 Aug 2010 14:48:07 -0700

On Aug 23, 2010, at 09:33, Ayers, Joseph wrote:

>  NSError *error = nil;
>  if (![[self managedObjectContext] save: &error]) {
>  NSLog(@"Error while saving\n%@",
> ([error localizedDescription] != nil) ? [error localizedDescription]: @"Unknown Error");
>
> Results in:
>
> 2010-08-22 20:31:32.385 Roboplasm[3508:a0f] Error while saving
> TapeList is a required value.

The error means that some entity is defined to have a to-one relationship to TapeList, and the relationship property is defined to be non-optional, but in some object the relationship is actually nil.


_______________________________________________

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: Saving Managed Object Context
      • From: "Ayers, Joseph" <email@hidden>
References: 
 >Saving Managed Object Context (From: "Ayers, Joseph" <email@hidden>)

  • Prev by Date: Re: Hidden file and 64bits Cocoa
  • Next by Date: Re: Formatting float numbers
  • Previous by thread: Saving Managed Object Context
  • Next by thread: Re: Saving Managed Object Context
  • Index(es):
    • Date
    • Thread