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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9380: KVC Exception info dict

Submitted by:  Manuel Guesdon <mguesdon>
Submitted on:  Fri 18 Jun 2004 02:04:47 PM UTC  
 
Category: Base/FoundationSeverity: 2 - Minor
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Manuel Guesdon <mguesdon>
Open/Closed: Closed

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>
Project MemberIn charge of this item.
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>
Project 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>
Project MemberIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 18 Jun 2004 06:11:15 PM UTCmguesdonStatusNone=>Fixed
  Assigned toNone=>mguesdon
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1