[umbrello] [Bug 373382] Java import crashes on importing enums

Ralf Habacker bugzilla_noreply at kde.org
Mon Jan 9 00:45:19 UTC 2017


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/umb
                   |                            |rello/2af5a312245cda1d94c23
                   |                            |a4a8ab0f2c9e413c143
   Version Fixed In|                            |2.21.1 [KDE Applications
                   |                            |16.12.1)

--- Comment #3 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 2af5a312245cda1d94c23a4a8ab0f2c9e413c143 by Ralf Habacker.
Committed on 09/01/2017 at 00:24.
Pushed by habacker into branch 'Applications/16.12'.

Fix 'Java import crashes on importing enums'.

This commit fixes the following issue: The importer creates UMLClassifier
objects on any unknown parsed type. On parsing the real definition later
it tries to use the UMLClassifier as UMLEnum which fails.

UMLDoc::setImporting() has been added to remove the old entry from the
tree view which is otherwise blocked in UMLListView::slotObjectRemoved()
by UmlDoc::loading().
FIXED-IN:2.21.1 [KDE Applications 16.12.1)

M  +2    -0    umbrello/codeimport/classimport.cpp
M  +17   -0    umbrello/codeimport/javaimport.cpp
M  +18   -0    umbrello/umldoc.cpp
M  +8    -0    umbrello/umldoc.h
M  +1    -1    umbrello/umllistview.cpp

https://commits.kde.org/umbrello/2af5a312245cda1d94c23a4a8ab0f2c9e413c143

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


More information about the umbrello-devel mailing list