| Summary: | Keypress "Delete" removes association name in diagram but not in model | ||
|---|---|---|---|
| Product: | [Applications] umbrello | Reporter: | Karl Pietrzak <kap4020> |
| Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | finex, ralf.habacker |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/sdk/umbrello/-/commit/07e0d98a0c676641e5efdcb6d1012b51db2e5458 | Version Fixed/Implemented In: | 25.11.80 |
| Sentry Crash Report: | |||
|
Description
Karl Pietrzak
2006-03-30 19:46:33 UTC
I don't get the crash (tried it on current branches/KDE/3.5)
but I do confirm this:
> 6. click on the 'a' next to the arrow in the diagram, and hit DELETE
> 7. right click on the arrow, select "Change Association name"
> 8. it will still say 'a' (not sure if this is the correct behavior)
Certainly not the correct behavior :)
Please try again using current branches/KDE/3.5.
If nobody confirms the crash then I suggest we rename this PR
to something like "association name not deleted in model".
Unfortunately, I don't have KDE 3.5, so I will not be able to try it out. :( > I don't have KDE 3.5, so I will not be able to try it out.
Umbrello compiles with KDE >= 3.3, maybe even with 3.2.
I just tried 1.5.61, and the behavior is even stranger now I followed steps 1-8 above, and yes, it does still say 'a'. But try this: 9. Click 'Cancel' in the "Change association name" dialog 10. Right-click again on the arrow and select "Change association name" 11. Now the association name is blank, like it's supposed to be. That's kinda weird, heh. I've tried to reproduce the crash on KDE4. The state diagram doesn't allow to edit association names, so I've tried using the ER diagram. It has not crashed. see also Bug 141809 Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved. Git commit 07e0d98a0c676641e5efdcb6d1012b51db2e5458 by Ralf Habacker. Committed on 01/11/2025 at 16:04. Pushed by habacker into branch 'master'. Fix bug not deleting uml association When an association widget is deleted, the associated UML association is not deleted. The remaining associations are no longer visible because they do not appear in the property dialog of a class. Since they are no longer visible, cyclic inheritances can easily occur, which can lead to a crash, e.g., of the Java export. After this fix, it is important to restore the missing widgets for such associations and to point out cyclic inheritances when loading files. FIXED-IN:25.11.80 M +1 -1 umbrello/umlwidgets/associationwidget.cpp https://invent.kde.org/sdk/umbrello/-/commit/07e0d98a0c676641e5efdcb6d1012b51db2e5458 Git commit f7845f1127f6297da68fc000f2eef76cd0e39d10 by Ralf Habacker. Committed on 01/11/2025 at 16:04. Pushed by habacker into branch 'master'. Readd lost association widgets in all views M +87 -0 umbrello/umldoc.cpp https://invent.kde.org/sdk/umbrello/-/commit/f7845f1127f6297da68fc000f2eef76cd0e39d10 |