Bug 327705

Summary: Crash when copying widget that has no UMLObject
Product: [Applications] umbrello Reporter: Joris Steyn <kde>
Component: generalAssignee: Joris Steyn <kde>
Status: RESOLVED FIXED    
Severity: normal CC: ralf.habacker
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.12.0

Description Joris Steyn 2013-11-16 21:59:57 UTC
A crash happens when copying a widget that has no UMLObject. Bug was introduced in 4.12 beta2.

Reproducible: Always

Steps to Reproduce:
1. Add a box to a diagram
2. Select the widget
3. Press CTRL+C
Actual Results:  
SIGSEGV

Expected Results:  
Widget is copied.
Comment 1 Joris Steyn 2013-11-16 22:01:03 UTC
Git commit 171182a085c8c83cb33fb1b92f075d973d6591da by Joris Steyn.
Committed on 16/11/2013 at 21:54.
Pushed by jorissteyn into branch 'KDE/4.12'.

Fix crash when copying widget

M  +3    -1    umbrello/clipboard/umlclipboard.cpp

http://commits.kde.org/umbrello/171182a085c8c83cb33fb1b92f075d973d6591da
Comment 2 Joris Steyn 2013-11-16 22:01:05 UTC
Git commit 9f2ed90a7bbcf7d77f3d979901f8d1a0700cc97c by Joris Steyn.
Committed on 16/11/2013 at 21:54.
Pushed by jorissteyn into branch 'master'.

Fix crash when copying widget

M  +3    -1    umbrello/clipboard/umlclipboard.cpp

http://commits.kde.org/umbrello/9f2ed90a7bbcf7d77f3d979901f8d1a0700cc97c