• 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: "Ayers, Joseph" <email@hidden>
  • Date: Tue, 24 Aug 2010 12:43:47 -0400
  • Acceptlanguage: en-US
  • Thread-topic: Saving Managed Object Context

That solved it. We made the reciprocal to-one relationship optional and it saved.

Thanks,
Joseph

On Aug 23, 2010, at 5:48 PM, Quincey Morris wrote:

> 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

_______________________________________________

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

  • Prev by Date: Re: Another Icon Question
  • Next by Date: Re: Another Icon Question
  • Previous by thread: Re: Saving Managed Object Context
  • Next by thread: Another Icon Question
  • Index(es):
    • Date
    • Thread