• 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
Strange bindings error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange bindings error


  • Subject: Strange bindings error
  • From: Wdyp <email@hidden>
  • Date: Fri, 7 Dec 2007 16:01:30 +0100

Hi! I’m experiencing a strange core data and bindings error:

"An -observeValueForKeyPath:ofObject:change:context: message was received but not handled."

My array controller contains objects of entity Salary each having a relationship to a Person object.

The errors apparently depends on a bound sort descriptors array.
This array of keypaths just works:
- @"person.department.tag", @"person.lastName", @"person.firstName"

But the reverse one causes the error:
- @"person.lastName",@"person.firstName",@"person.department.tag"

If I just do - @"person.lastName",@"person.firstName" then no error appears.

Why wouldn’t it work with the department tag as the primary key?

Thanks for any help!_______________________________________________

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: Re: Notification for mouse-up on NSStepper
  • Next by Date: NSTextView data bindings losing info when saving to core data.
  • Previous by thread: Re: trouble keeping NSTableView sorted
  • Next by thread: NSTextView data bindings losing info when saving to core data.
  • Index(es):
    • Date
    • Thread