[MacRuby-devel] [MacRuby] #629: Bindings not working for subclass
MacRuby
ruby-noreply at macosforge.org
Sat Mar 6 14:20:11 PST 2010
#629: Bindings not working for subclass
---------------------------------+------------------------------------------
Reporter: dylan@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: critical | Milestone:
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
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
--
Ticket URL: <http://www.macruby.org/trac/ticket/629>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list