[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bugs #9487] NSOutlineView reloadItem generates errors
From: |
Fred Kiefer |
Subject: |
[bugs #9487] NSOutlineView reloadItem generates errors |
Date: |
Thu, 01 Jul 2004 14:44:58 -0400 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko) |
This mail is an automated notification from the bugs tracker
of the project: GNUstep.
/**************************************************************************/
[bugs #9487] Latest Modifications:
Changes by:
Fred Kiefer <FredKiefer@gmx.de>
'Date:
Thu 07/01/2004 at 18:42 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Category | Makefiles | Gui/AppKit
Status | Open | In Test
------------------ Additional Follow-up Comments ----------------------------
This problem is caused by the inconsistent use of NSNull in NSOutlineView. The
shared null object is used here for the key nil in object mappings, but
sometimes when iterating over the keys the reverse conversion is not applied.
I changed that and the code is now working for me.
/**************************************************************************/
[bugs #9487] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9487>
Project: GNUstep
Submitted by: Rob Burns
On: Tue 06/29/2004 at 03:06
Category: Gui/AppKit
Severity: 5 - Average
Item Group: Change Request
Resolution: None
Assigned to: None
Status: In Test
Summary: NSOutlineView reloadItem generates errors
Original Submission: NSoutline reloadItem: generates an "NSNull does not
respond to setObjectForKey:" error and an "NSInvalidArgumentException: Tried to
insert nil to arrray" error most (not all) of the times it is called.
Example code for this can be found at
http://www.eskimo.com/~pburns/rob/misc/NSOutlineView-reloadItem.tar.gz
It's a GSTest bundle.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Thu 07/01/2004 at 18:42 By: FredKiefer
This problem is caused by the inconsistent use of NSNull in NSOutlineView. The
shared null object is used here for the key nil in object mappings, but
sometimes when iterating over the keys the reverse conversion is not applied.
I changed that and the code is now working for me.
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9487>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bugs #9487] NSOutlineView reloadItem generates errors,
Fred Kiefer <=