Update of bug #15178 (project gnustep):

                  Status:            Works For Me => Fixed                  
             Open/Closed:                    Open => In Test                

    _______________________________________________________

Follow-up Comment #7:

Good catch on this one.  The problem stemmed from the fact that the document
was being allocated and loadDocument called on the instance.   When the
unarchiver crashed (because the file isn't a gorm file) the state of the
document object is inconsistent.

The solution was to externalize the check (as is done with NSDocument) and
not to instantiate a document object, unless the type of file passed in
warrents it.

Please test the version in CVS to make sure this is corrected.  My tests here
on Linux and FreeBSD work fine.  

The workaround for Gorm 1.0.1 users is simply to avoid loading files which
are not .gorm files from the command-line. :)

GJC

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15178>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to