[umbrello-devel] [umbrello] [Bug 345571] Crash when copying actor of use case to collaboration diagram
Ralf Habacker
ralf.habacker at freenet.de
Fri May 8 08:01:06 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=345571
Ralf Habacker <ralf.habacker at freenet.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Latest Commit| |http://commits.kde.org/umbr
| |ello/5a05d35e2e809899b2f65b
| |ea9fb44681042d10f8
Status|CONFIRMED |RESOLVED
--- Comment #5 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 5a05d35e2e809899b2f65bea9fb44681042d10f8 by Ralf Habacker.
Committed on 08/05/2015 at 07:58.
Pushed by habacker into branch 'Applications/15.04'.
Fix 'Crash when copying actor of use case to collaboration diagram'.
The crash happened by accessing deleted widgets in the scene widget list; the
bug
is fixed by excluding invalid uml objects and widget in
UMLDragData::decodeClip4()
before any widget is added to the scene.
M +0 -47 umbrello/clipboard/umlclipboard.cpp
M +0 -2 umbrello/clipboard/umlclipboard.h
M +22 -0 umbrello/clipboard/umldragdata.cpp
M +46 -0 umbrello/model_utils.cpp
M +1 -0 umbrello/model_utils.h
http://commits.kde.org/umbrello/5a05d35e2e809899b2f65bea9fb44681042d10f8
--- Comment #4 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 66ed34766b015c56a4f1ed880d614a9127c44697 by Ralf Habacker.
Committed on 08/05/2015 at 07:50.
Pushed by habacker into branch 'Applications/15.04'.
Refactor code checking valid uml object type for a given diagram type into a
new function Moodel_Utils::typeIsAllowedInDiagram().
This makes the function callable from different locations.
M +79 -0 umbrello/model_utils.cpp
M +1 -0 umbrello/model_utils.h
M +1 -65 umbrello/umlscene.cpp
http://commits.kde.org/umbrello/66ed34766b015c56a4f1ed880d614a9127c44697
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list