Summary: | When creating a composition using the toolbar, two relationships are created | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Hamid Sahraiee <Sahraiee> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ralf.habacker |
Priority: | NOR | ||
Version: | 2.30.0 (KDE Applications 19.12.0) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/kde/umbrello/commit/afaca964b8807e4c824b9149bc725a5b5879571a | Version Fixed In: | 2.30.2 (KDE Applications 19.12.2) |
Attachments: |
Screenshot showing what is broken
Screenshot showing what is broken (update) |
Description
Hamid Sahraiee
2020-01-08 08:30:06 UTC
Thanks reportin (In reply to Ralf Habacker from comment #1) > Thanks reportin sed s,Thanks reportin,thanks for reporting,g' Created attachment 124969 [details]
Screenshot showing what is broken
I have attached a screenshot that contains use cases for the visual representation of compositions (and related aggregations). Did I forget anything ?
Created attachment 124970 [details]
Screenshot showing what is broken (update)
> 3. Drag it from C1 to C2, a new variable will be appear with the default name
In this step the duplicated association is created
Git commit afaca964b8807e4c824b9149bc725a5b5879571a by Ralf Habacker. Committed on 08/01/2020 at 15:43. Pushed by habacker into branch 'release/19.12'. Fix 'Duplicate Composition Association when rename it's variable in the tree View' When connecting two classes by means of a 'composition', a relationship was previously created twice. Once in ToolBarStateAssociation::setSecondWidget() and the second time in UMLWidget::updateWidget(), which is triggered by the 'modified' signal when calling UMLClassifier::addAttribute(). FIXED-IN:2.30.2 (KDE Applications 19.12.2) M +9 -3 umbrello/toolbarstateassociation.cpp https://invent.kde.org/kde/umbrello/commit/afaca964b8807e4c824b9149bc725a5b5879571a Comment on attachment 124970 [details] Screenshot showing what is broken (update) The attribute change issue is tracked with bug 416006. Thanks a lot ;) You may download an umbrello snapshot for Windows with this patch applied from https://umbrello.kde.org/snapshots.php |