Summary: | Two associations between states causes crash | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Jonathan Riddell <jr> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jonathan Riddell
2004-01-19 18:53:04 UTC
this can also be triggered by a CTRL-Z: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=229101 Confirm the problem with undo on adding two associations in opposite directions between two classes. I made two associations in the wrong direction. After deleting one, the other wasn't selectable any more. I deleted the two objects, but the association stayed there blankly. Finally I got both associations removed, but wasn't able to create an association in the other direction. A look in the xmi-file showed that all trials where still in the file without being showed in the editor. I deleted the following snippet: <UML:Association visibility="public" xmi.id="263" > <UML:Association.connection> <UML:AssociationEnd visibility="public" aggregation="composite" type="233" /> <UML:AssociationEnd visibility="public" type="233" /> </UML:Association.connection> </UML:Association> <UML:Association visibility="public" xmi.id="264" > <UML:Association.connection> <UML:AssociationEnd visibility="public" aggregation="composite" type="233" multiplicity="1" /> <UML:AssociationEnd visibility="public" type="242" multiplicity="*" /> </UML:Association.connection> </UML:Association> <UML:Association visibility="public" xmi.id="265" > <UML:Association.connection> <UML:AssociationEnd visibility="public" aggregation="none" type="242" /> <UML:AssociationEnd visibility="public" isNavigable="true" type="233" /> </UML:Association.connection> </UML:Association> <UML:Association visibility="public" xmi.id="266" > <UML:Association.connection> <UML:AssociationEnd visibility="public" aggregation="composite" type="242" /> <UML:AssociationEnd visibility="public" type="242" /> </UML:Association.connection> </UML:Association> <UML:Association visibility="public" xmi.id="267" > <UML:Association.connection> <UML:AssociationEnd visibility="public" aggregation="shared" type="233" /> <UML:AssociationEnd visibility="public" type="242" /> </UML:Association.connection> </UML:Association> an was be able to create the association in the correct direction. This seems to have been fixed in CVS, it is no longer possible to make two associations between two states in the same direction. |