[Developers] Bug: mutating method sent to immutable object

Tom Fuks casualcoding at googlemail.com
Sat Mar 8 23:50:00 CET 2008


In 'Preferences' pane, when editing settings of a tunnel restored from
standardUserDefaults, nothing changed but related GUI component gets
confused and an exception shows up in console.log:

  SSHKeychain[1702] Exception raised during posting of notification.
 Ignored.  exception: *** -[NSCFDictionary setObject:forKey:]:
  mutating method sent to immutable object


This has been observed on branch/0.8.2 and trunk.  See proposed patch
attached.

Cheers,

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.sshkeychain.org/pipermail/developers/attachments/20080308/1bf48551/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: immutable-dict-fix.diff
Type: application/octet-stream
Size: 1120 bytes
Desc: not available
Url : http://www.sshkeychain.org/pipermail/developers/attachments/20080308/1bf48551/attachment.obj 


More information about the developers mailing list