[Uml-devel] [Bug 129859] New: XMI file contains deleted associations
Benjamin Heitmann
benjamin.heitmann at logix-tt.com
Mon Jun 26 17:14:37 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=129859
Summary: XMI file contains deleted associations
Product: umbrello
Version: unspecified
Platform: Debian testing
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: umbrello-devel.kde.org
ReportedBy: benjamin.heitmann logix-tt com
Version: 1.5.3 (using KDE KDE 3.5.2)
Installed from: Debian testing/unstable Packages
OS: Linux
The XMI File of a Model, which was created in Umbrello and then saved contains all
deleted (and current) associations between classes in the <XMI.content> part.
I did not look at the <XMI.extensions> part, but I assume that the deleted associations are not included in that part, because the visual representation of the UML diagramm, which is displayed by Umbrello is correct.
To recreate this bug, just follow these simple steps:
1.) Create a new UML document with ctrl+n
2.) Create a new UML class diagram.
3.) Create two new classes in the diagram.
4.) create an Aggregation association between the two classes.
5.) Click on the Aggregation and delete it.
6.) create a Composition association between the two classes.
7.) save the UML file
8.) check the saved file and there are two <UML:Assocation> elements below <XMI.content> and not one. (There is no way to decide which of the two is the current one.
This bug is really bad, for people trying to generate source code from the XMI file :P
I will attach a sample XMI file to this bug, as soon as I see how to do that.
More information about the umbrello-devel
mailing list