WARNING: -[NSObject(NSKeyValueCoding) takeValue:forKey:] is deprecated

RESOLVED FIXED

Status

Camino Graveyard
General
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: philippe (part-time), Assigned: Smokey Ardisson (offline for a while; not following bugs - do not email))

Tracking

Details

(Whiteboard: [camino-2.0.6])

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
10.6.3 Console noted:
6/10/10 9:09:01 AM	Camino[2572]	*** WARNING: -[NSObject(NSKeyValueCoding) takeValue:forKey:] is deprecated. It will be removed in a future release and should no longer be used.

(I'm not clear what triggered it; I don't remember seeing it before. According to my history, I was loading elpais.com at that moment).

sauron: I think it's http://mxr.mozilla.org/camino/source/src/bookmarks/BookmarkViewController.mm#1476
Created attachment 450279 [details] [diff] [review]
Fix?

According to http://developer.apple.com/mac/library/documentation/cocoa/reference/foundation/Protocols/NSKeyValueCoding_Protocol/DeprecationAppendix/AppendixADeprecatedAPI.html#//apple_ref/occ/instm/NSObject/takeValue:forKey: it's been deprecated since 10.3, too (big surprise; our 10.2-era table and outline views using deprecated calls :P ).

Even better, the fix should be s/take/set/, which means I can attach a patch!
Assignee: nobody → alqahira
Status: NEW → ASSIGNED
Attachment #450279 - Flags: superreview?(stuart.morgan+bugzilla)

Comment 2

8 years ago
Comment on attachment 450279 [details] [diff] [review]
Fix?

sr=smorgan
Attachment #450279 - Flags: superreview?(stuart.morgan+bugzilla) → superreview+
http://hg.mozilla.org/camino/rev/f4815e4678bb
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Er, and CVS trunk; I forgot this applied there.
Landed on CAMINO_2_0_BRANCH in advance of 2.0.6.  (See bug 571152 comment 6 for why.)
Flags: camino2.0.6+
Whiteboard: [camino-2.0.6]
You need to log in before you can comment on or make changes to this bug.