Messages from list : cormas@cirad.fr

Choose a topic among the following archives :

bugs in saving/loading attributes methods?

New Message Reply Date view Thread view Subject view Author view

Subject: bugs in saving/loading attributes methods?
From: Geraldine Abrami (Geraldine.Abrami@cirad.fr)
Date: Mon Mar 27 2006 - 19:27:05 CEST

Hello,

I am currently trying to use the default CormasModel methods for
saving/loading attributes of entities (saveAttributes: attributes
fromClass: aClass inFile: aStringOrFilename separator: aChar and
loadAttributesForClass: aClass fromFile: aStringOrFilename).
It seems that what the methods are writting do not correspond to what
the methods are supposed to read, I allways come out with a 'Wrong File'
error.
I have already been fighting for one hour trying to redefine the methods
so that the good thing is written but I get discouraged!
Also the saveAttributes method is appending instead of writting over, I
don't know whether it is normal.

I don't know whether some of the methods are obsolete and maybe one of
you already made a nice patch so these things work correctly!

I think this problem has already been reported so excuse me for possible
double-posting.

Thanx by advance for your help,

Cheers,

Geraldine

New Message Reply Date view Thread view Subject view Author view
 

Back to home