#629: Bindings not working for subclass
---------------------------------+------------------------------------------
 Reporter:  dy...@…              |       Owner:  lsansone...@…        
     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/>

_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to