URL:
  <http://savannah.gnu.org/bugs/?21343>

                 Summary: KVC implementation throws uncaught exception
parsing BOOLs
                 Project: GNUstep
            Submitted by: lcampbel
            Submitted on: Monday 10/15/2007 at 16:02
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

 gnustep-base doesn't supply -[NS(Constant)String unsignedCharValue], but its
KVC
implementation uses it for parsing BOOLs. So if you try to setValue:forKey: a
BOOL ivar,  you get this:

<NSException: 8112048> NAME:NSInvalidArgumentException
REASON:NSConstantString(instance) does not recognize unsignedCharValue

The fix is simple: provide -[NSString unsignedCharValue].





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?21343>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to