bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #25004] NSWindowontroller -initWithCoder fails for NSKeyedUnarchive


From: Niels Grewe
Subject: [bug #25004] NSWindowontroller -initWithCoder fails for NSKeyedUnarchivers/ NSKeyedUnarchiver doesn't implement -versionForClassName
Date: Wed, 03 Dec 2008 16:01:13 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.4) Gecko/2008112309 Iceweasel/3.0.4 (Debian-3.0.4-1)

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]