Re: Core Data: rare exception
Re: Core Data: rare exception
- Subject: Re: Core Data: rare exception
- From: "I. Savant" <email@hidden>
- Date: Mon, 8 Oct 2007 18:56:07 -0400
I am not writing a single line of code, therefore if it is a bug, it
is a Core Data's bug... and I cannot fix it;
however, my impression is that it may have to be with the relations
in my model...
I'm not sure how you can assert it's a Core Data bug when you
haven't even yet posted the code which produces this error. What
object are you -add:'ing and how do you create it? To what are you -
add:'ing it? An array controller?
Many beginners (to an API, not necessarily programming in general)
are quick to label things they don't understand as an API bug. 95% of
the time, they're not just wrong, but ridiculously so. Be careful and
make sure you post your proof first or your blame is little more than
noise.
do I have to make some of them mandatory?
may be some deleting rule?
some not obvious attribute I have to set?
Don't know; you've not provided sufficient information. Please give
this a read:
http://www.catb.org/~esr/faqs/smart-questions.html
... then post back with the necessary info. My *first* guess is
that you're either not maintaining memory properly (and the message is
being sent to some random object which happens to be an NSDictionary)
or you're trying to add an NSDictionary instance when you really mean
to add an NSManagedObject. That's about as good as you can get with
the info you've provided: a guess.
--
I.S.
_______________________________________________
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