URL:
<http://savannah.gnu.org/bugs/?25004>
Summary: NSWindowontroller -initWithCoder fails for
NSKeyedUnarchivers/ NSKeyedUnarchiver doesn't implement -versionForClassName
Project: GNUstep
Submitted by: thebeing
Submitted on: Mi 03 Dez 2008 16:01:12 GMT
Category: None
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hi,
I recently stumbled upon the following problem, which probably needs some
attention:
Since rev 26959 the -initWithCoder method of NSWindowController calls the
-versionForClassName method of the coder. This approach fails if the coder is
a NSKeyedUnarchiver, which doesn't implement the -versionForClassName method.
Since NSCoder declares this method a subclassResponsibility, decoding nibs can
sometimes raise an exception. As is the case with the MainMenu.nib of the
StepChat application from the Étoilé project
(http://svn.gna.org/svn/etoile/trunk/Etoile/Services/User/Jabber/English.lproj/MainMenu.nib).
best regards
Niels
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?25004>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep