[umbrello] [Bug 371495] Lost class and interface names when open the project

Ralf Habacker bugzilla_noreply at kde.org
Thu Nov 3 08:58:51 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=371495

Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/umbr
                   |                            |ello/7c761dac4ba3a90e4cfce9
                   |                            |9d653992f77d5c7147
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |2.20.3 (KDE Applications
                   |                            |16.08.03)
         Resolution|---                         |FIXED

--- Comment #14 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 7c761dac4ba3a90e4cfce99d653992f77d5c7147 by Ralf Habacker.
Committed on 03/11/2016 at 08:58.
Pushed by habacker into branch 'Applications/16.08'.

Fix 'Lost class and interface names when open the project'.

UML objects used on diagrams may be located in the xmi file after the
diagram which results into "LOST_..." entries in the tree view. Caused by
internal limitations umbrello 2.18.x was not be able to fix that issues.
It was required to patch the xmi file by hand to remove the incorrect
listview tags.

To fix this issue there are three changes required:

1. Loading of diagrams is now performed after all uml objects has been
   loaded from the xmi file. On parsing diagram tags the related QDomNode
   and UMLFolder instance are saved in a map. After loading has been
   finished the diagrams are imported from this map.

2. Ignore uml objects from xmi file having no parent

3. Do not reparent uml objects caused by list view entries diverged
   from the uml model.
FIXED-IN:2.20.3 (KDE Applications 16.08.03)


Signed-off-by: Ralf Habacker <ralf.habacker at freenet.de>

M  +38   -0    umbrello/umldoc.cpp
M  +8    -0    umbrello/umldoc.h
M  +2    -20   umbrello/umllistview.cpp
M  +13   -4    umbrello/umlmodel/folder.cpp
M  +3    -1    umbrello/umlmodel/folder.h

http://commits.kde.org/umbrello/7c761dac4ba3a90e4cfce99d653992f77d5c7147

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list