[umbrello] [Bug 447824] New: Cannot create two aggregations between the same two classes

Robert Hairgrove bugzilla_noreply at kde.org
Sun Jan 2 12:25:15 GMT 2022


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

            Bug ID: 447824
           Summary: Cannot create two aggregations between the same two
                    classes
           Product: umbrello
           Version: Git
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: umbrello-devel at kde.org
          Reporter: code at roberthairgrove.com
  Target Milestone: ---

Created attachment 145048
  --> https://bugs.kde.org/attachment.cgi?id=145048&action=edit
Model of a simple graph structure

SUMMARY
Cannot create two aggregations between the same two classes. This is necessary
if modeling a graph structure, for example (see attached picture of what I am
trying to achieve).

STEPS TO REPRODUCE
1. Open a new class diagram, or use the default diagram;
2. Add two classes : Node and Edge;
3. Draw an aggregation from Edge to Node. Give it the role "source",
multiplicity 1..1
4. Try to draw another aggregation similar to the above with role "target"

OBSERVED RESULT
The second aggregation is not created.

EXPECTED RESULT
Multiple aggregations should be possible.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 18.04.x
(available in About System)
Qt Version: 5

ADDITIONAL INFORMATION
There is an interesting comment in the method body of
"AssociationWidget::create()" which probably applies here. ;)

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


More information about the umbrello-devel mailing list