[umbrello] [Bug 425295] New: Associations in use case diagrams are not deleted in the UML model, only in the diagram

Robert Hairgrove bugzilla_noreply at kde.org
Thu Aug 13 13:23:25 BST 2020


https://bugs.kde.org/show_bug.cgi?id=425295

            Bug ID: 425295
           Summary: Associations in use case diagrams are not deleted in
                    the UML model, only in the diagram
           Product: umbrello
           Version: Git
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: umbrello-devel at kde.org
          Reporter: code at roberthairgrove.com
  Target Milestone: ---

SUMMARY
When an association is created by dragging the related icon from an actor to a
use case, or to another actor, two XMI elements are added to the file:

1) The element which has the tag <UML:Association> along with the owned
elements <UML:Association.connection> and <UML:AssociationEnd>;

2) The element <associations>, previously empty, is given child elements with
the tag <assocwidget>.

But when the associations are deleted in the diagram, only the elements under
the <diagram> element are deleted; the model elements tagged <UML:Association>
are left behind as zombies.


STEPS TO REPRODUCE
1. In Umbrello, create an actor and two use cases;
2. Draw associations between the actor and the use cases.
3. Save the file. Open it in an editor and verify that the elements described
above were created.
4. In Umbrello, delete the associations just drawn and save the file again.

OBSERVED RESULT
Notice that the elements tagged <UML:Association> were not deleted, only the
<assocwidget> elements under <diagram> were deleted.


EXPECTED RESULT
All elements corresponding to the deleted associations should have been removed
from the XMI file.

SOFTWARE/OS VERSIONS
Linux Ubuntu 18.04.4
Qt Version: 5.x

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list