bugGNUstep - Bugs: bug #9380, KVC Exception info dict

Group
 
 

bug #9380: KVC Exception info dict

Submitter:  Manuel Guesdon <mguesdon>
Submitted:  Fri 18 Jun 2004 02:04:47 PM UTC
   
 
Category:  Base/Foundation Severity:  2 - Minor
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  mguesdon
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 18 Jun 2004 06:11:15 PM UTC, comment #2: 

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];

Manuel Guesdon <mguesdon>
Group Member
Fri 18 Jun 2004 05:24:06 PM UTC, comment #1: 

I fully agree and I think you can commit that as obvious.

David Ayers <ayers>
Group Member
Fri 18 Jun 2004 02:04:47 PM UTC, 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];


Manuel Guesdon <mguesdon>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-06-18 mguesdon StatusNone Fixed
    Assigned toNone mguesdon
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code