[umbrello-devel] [umbrello] [Bug 338536] Crash when attempting to view model from AIXM

Oliver Kellogg okellogg at users.sourceforge.net
Tue Aug 26 08:29:00 UTC 2014


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

Oliver Kellogg <okellogg at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/umbr
                   |                            |ello/79bb78d801097b7515e3cc
                   |                            |7f43174fcb7528266e

--- Comment #4 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit 79bb78d801097b7515e3cc7f43174fcb7528266e by Oliver Kellogg.
Committed on 26/08/2014 at 08:30.
Pushed by okellogg into branch 'master'.

Fix crash loading AIXM-5-1-20100201.mdl according to analysis at comment #3:

umbrello/object_factory.cpp
- In function createUMLObject() case !n.isEmpty(), if doc->findUMLObject()
  returns non NULL and solicitNewName is false then:
  - If `type' is ot_UMLObject (wildcard) or `type' is equal to o->baseType()
    then return the existing object.
  - Else log a message about type mismatch and call createNewUMLObject() for
    the given `type'.

M  +11   -1    umbrello/object_factory.cpp

http://commits.kde.org/umbrello/79bb78d801097b7515e3cc7f43174fcb7528266e

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


More information about the umbrello-devel mailing list