Version: 2.0.0 (using 4.00.64 (KDE 4.0.64 >= 20080228) "release 2.1", compiled sources) Compiler: gcc OS: Linux (i686) release 2.6.22.17-0.1-default If I copy a "Entität" an make changes on it. It changes the attributes also on my original "Entität" element
Can anyone still reproduce this bug with a recent KDE version? (4.1.3 / 4.2beta2 / 4.2svn) ? Thanks :)
Yes, I can reproduce it with 4.2rc1
and still exist in umbrello 4.3.85
bug ist still present in 2.26.0 (KDE Applications 18.08.0)
The problem is UMLDragData::decodeClip4: When pasting, the current implementation creates only one copy of the widget, but uses the underlying UML object from the copied widget instead of creating a copy.
Git commit 36e8d4cabefd722ccccd3556168d0c629b3b8c13 by Ralf Habacker. Committed on 07/10/2018 at 09:09. Pushed by habacker into branch 'Applications/18.08'. Refactored UMLDragData::decodeClip4() to use better variable names M +7 -5 umbrello/clipboard/umldragdata.cpp https://commits.kde.org/umbrello/36e8d4cabefd722ccccd3556168d0c629b3b8c13
Git commit 52c92044191f291a8503dd2c618381b80e010d92 by Ralf Habacker. Committed on 07/10/2018 at 09:09. Pushed by habacker into branch 'Applications/18.08'. Fix 'changes on "entitätattribut" changes the attributes also on an copy' We need to clone the related uml object too. FIXED-IN:2.26.3 (KDE Applications 18.08.3) M +14 -0 umbrello/clipboard/umldragdata.cpp M +26 -0 umbrello/model_utils.cpp M +1 -0 umbrello/model_utils.h M +7 -22 umbrello/umlscene.cpp https://commits.kde.org/umbrello/52c92044191f291a8503dd2c618381b80e010d92