Ticket #629 (closed defect: fixed)
Bindings not working for subclass
| Reported by: | dylan@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | critical | Milestone: | MacRuby 0.6 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
Binding to a property that is overridden by a subclass causes a 'valueForUndefinedKey:]: this class is not key value coding-compliant for the key' error.
Expected behavior: binding should call the method on the subclass.
I've attached a project that throws this error on launch. The AppDelegate contains Person and Teacher instances. The nib file has a label bound to each. Removing the binding to teacher.name or changing the binding to a property that is not overridden makes the bug go away.
I was using an early nightly for beta 0.6. I've also tested with the latest nightly:
macruby_nightly-2010-03-06-1240.pkg
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


