Re: Core Data "entity required" error
Re: Core Data "entity required" error
- Subject: Re: Core Data "entity required" error
- From: John Bishop <email@hidden>
- Date: Tue, 3 Jun 2008 14:06:19 -0500
- X_cmae_category: 0,0 Undefined,Undefined
Melissa's got the right answer... You've probably defined a "configuration" for entities within your data model - via the Configurations pane (wrench) in the Entity box (upper right) in the data modeling editor. You've then specified an entity within the model that you expect to be in the store, but it isn't (hence the error). You forgot to check the configuration checkbox for one of your entities that indicates it's part of your configuration.
You're certainly right that the error message is obsure and I don't know how you'd find this, except as I did... plain dumb luck and a mail group with a couple people who've accidentaly done the same thing!
John
>*Checks the oracle bones ... *
>
>Does the store configuration for your SQL store contain all the
>entities in your model? If not, you need to make sure that all the
>entities for objects you're trying to save into the store are in it.
>
>+Melissa
>
>On Jun 2, 2008, at 10:07, Hamish Allan wrote:
>
>> On Mon, Jun 2, 2008 at 3:21 PM, Chataka <email@hidden> wrote:
>>
>>> On the console, I just get
>>>
>>>> entity required
>>>
>>> That's it. Just two words.
>>> Nothing else I can include...
>>
>> Ah, I see! Sorry, how frustrating.
>>
>> Try setting a breakpoint on NSLog() (or fprintf(), or syslog()) to see
>> if you can get a stack trace on that message.
>>
>> Hamish
_______________________________________________
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