[umbrello-devel] [umbrello] [Bug 341709] Crash while importing C++ code from existing project

Ralf Habacker ralf.habacker at freenet.de
Thu Dec 11 13:30:11 UTC 2014


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|http://commits.kde.org/umbr |http://commits.kde.org/umbr
                   |ello/c359c26780de7463750166 |ello/713fe83d4a105e5abe734b
                   |b0f73c565fce52a59e          |95b2ef983954e50e04

--- Comment #12 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 713fe83d4a105e5abe734b95b2ef983954e50e04 by Ralf Habacker.
Committed on 11/12/2014 at 13:18.
Pushed by habacker into branch 'Applications/14.12'.

Fix another 'Crash while importing C++ code from existing project'.

Exclude non UMLPackage based uml objects from accessing not present
m_objects member in Model_Utils::findUMLObject().

A common solution would be to solve the dynamic_cast<UMLPackage*>()
failure (see bug) or to add a virtual bool canHaveObjects() method
to UMLObject, which returns false by default and true for classes
derived from UMLPackage to guard the access to m_objects.

M  +12   -0    umbrello/model_utils.cpp

http://commits.kde.org/umbrello/713fe83d4a105e5abe734b95b2ef983954e50e04

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


Make the world a better place. Donate to our year end fundraiser https://www.kde.org/fundraisers/yearend2014/


More information about the umbrello-devel mailing list