Version: 1.3.2 (using KDE 3.3.2 Level "a" , SUSE 9.2 UNSUPPORTED) Compiler: gcc version 3.3.4 (pre 3.3.5 20040809) OS: Linux (i686) release 2.6.8-24.11-default I import code from two header files containing two classes. The classes appear correctly in the diagram tree. Project is saved without problem. I layout the classes in a class diagram. The relationship does not show. right-click -> properties Attributes... start adding comments to the attributes. The application crashes and systems dies. Push the reset button to restart system... PS. Header files attached.
Created attachment 9917 [details] class species
Created attachment 9919 [details] header for class Tspeciesdb
Created attachment 9920 [details] header for class Tspeciesdb
Cannot confirm with 1.4. Here's what I did: - Import species.h and the second version of speciesdb.h (attachment 9920 [details]) - Drag Tspecies and Tspeciesdb onto class diagram - No association is shown... I guess this could use improvement, for example we could at least generate a "dependency". - Drag the datatype "map<string, Tspecies*>" onto the diagram: the composition association for "fdb" at Tspeciesdb is shown on the diagram - Right click on Tspeciesdb on the diagram, select Properties->Attributes, select "fdb", add text in the Documentation field - Save the model, close, load the model - Everything is fine.
I think I traced the problem!!!!!!!!!!! Strangely enough after importing the classes the system crashes after approximately 30 seconds even without doing any work at all. I checked the generated xmi file and found that it was corrupted. It seems that the importer gets confused when it encounters the character "<" which is also a special character for the xmi format. the "comp" attribute of the Tspecies class (species.h file) is corrupted in the xmi file. vector<pair<string ,double> > comp; in header file type="vector< pair < string , double > > in xmi file
Due to lack of developers, the 1.3.x versions are no longer maintained. Please use 1.4 (to be released in a few days) or at least 1.4beta2. Anyway, I took another look and there _is_ a problem: The datatype for "comp" and other nested-template-instantation attributes is not promoted to the model properly (truncated to "vector" instead of e.g. "vector<pair<string,double>>"). Feel free to raise a separate PR for this.