bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #9380] KVC Exception info dict


From: Manuel Guesdon
Subject: [bugs #9380] KVC Exception info dict
Date: Fri, 18 Jun 2004 14:11:08 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030428 Galeon/1.3.3

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.

/**************************************************************************/
[bugs #9380] Latest Modifications:

Changes by: 
                Manuel Guesdon <mguesdon@orange-concept.com>
'Date: 
                ven 18.06.2004 à 18:11 (Europe/Paris)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | mguesdon
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fixed:
  NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
                                     self, 
                                     @"NSTargetObjectUserInfoKey", 
                                     (aKey ? aKey : @"(nil)"),
                                     @"NSUnknownUserInfoKey",
                                     nil];

and

  NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
                                     (anObject ? anObject : @"(nil)"), 
                                     @"NSTargetObjectUserInfoKey", 
                                     (aKey ? aKey : @"(nil)"),
                                     @"NSUnknownUserInfoKey",
                                     nil];







/**************************************************************************/
[bugs #9380] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9380>
Project: GNUstep
Submitted by: Manuel Guesdon
On: ven 18.06.2004 à 14:04

Category:  Base/Foundation
Severity:  3 - Ordinary
Item Group:  Bug
Resolution:  Fixed
Assigned to:  mguesdon
Status:  Closed


Summary:  KVC Exception info dict

Original Submission:  When the key or value is nil, infoDictionary is empty or 
incomplete in -handleQueryWithUnboundKey: and  handleTakeValue: forUnboundKey:

Should be replace by something like 
  NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
                                     (anObject ? anObject : @"(nil)"), 
                                     @"NSTargetObjectUserInfoKey", 
                                     (aKey ? aKey : @"(nil)"),
                                     @"NSUnknownUserInfoKey",
                                     nil];



Follow-up Comments
------------------


-------------------------------------------------------
Date: ven 18.06.2004 à 18:11        By: mguesdon
Fixed:
  NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
                                     self, 
                                     @"NSTargetObjectUserInfoKey", 
                                     (aKey ? aKey : @"(nil)"),
                                     @"NSUnknownUserInfoKey",
                                     nil];

and

  NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
                                     (anObject ? anObject : @"(nil)"), 
                                     @"NSTargetObjectUserInfoKey", 
                                     (aKey ? aKey : @"(nil)"),
                                     @"NSUnknownUserInfoKey",
                                     nil];


-------------------------------------------------------
Date: ven 18.06.2004 à 17:24        By: ayers
I fully agree and I think you can commit that as obvious.












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9380>

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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]