• 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: CoreData: "Unacceptable type of value for to-one relationship"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData: "Unacceptable type of value for to-one relationship"


  • Subject: Re: CoreData: "Unacceptable type of value for to-one relationship"
  • From: Pavel Kapinos <email@hidden>
  • Date: Tue, 16 Dec 2008 11:49:51 -0800


On 15-Oct-08, at 10:02 PM, Pavel Kapinos wrote:

I am using an abstract entity as a destination for to-one relationship but assign an instance of its concrete subentity and it worked just fine in Tiger and even in early 10.5, but I am getting now this nasty "Unacceptable type of value for to-one relationship" runtime messages in 10.5.5 and have no clue why would this be happening. I would very much appreciate any enlightening suggestions. Thank you.

The problem was caused by "mixing-up" two CoreData stacks though both were created using the same NSManagedDataModel. So I was using NSEntityDescription from one stack and tried to instantiate that entity in another stack, which apparently doesn't work this way.


_______________________________________________

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


  • Prev by Date: NSTextField and NSTextCell problem
  • Next by Date: Re: More - Safari Download Security Alerts
  • Previous by thread: NSTextField and NSTextCell problem
  • Next by thread: NSAttributedString -> XHTML 1.1
  • Index(es):
    • Date
    • Thread