[Uml-devel] [Bug 135606] Umbrello saves too much copies at xmi

Achim Spangler Achim.Spangler at mnet-online.de
Tue Oct 24 13:02:03 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=135606         




------- Additional Comments From Achim.Spangler mnet-online de  2006-10-24 15:02 -------
Hi,
I might have found the reason.

Somebody in the past commented the following block out:
if (type == Uml::lvt_Datatype) {
        parentItem = m_datatypeFolder;
    }

Well - this shouldn't have been done....

This block is VERY IMPORTANT for a correct resolve of data types, generalizations, ........ .

The attached patch solves:
+ endless loop in error case with parent package pointer being NULL
+ activate back the cited code

I was able to create a small test project without any redundant datatype lines.
The class hierarchy (generalization) is reloaded correctly again.
And the diagrams are also reloaded.

Bye,
Achim




More information about the umbrello-devel mailing list