[umbrello-devel] [umbrello] [Bug 175096] crash on import classes(c++)

Ralf Habacker ralf.habacker at freenet.de
Sat Feb 1 12:07:29 UTC 2014


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

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/dcb2f029c9ab4a210536ba |ello/4d4cbb10b1eb825ee7189e
                   |000dcb5b8900f08173          |af0aa8e4bd415a9972
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|http://commits.kde.org/umbr |http://commits.kde.org/umbr
                   |ello/dcb2f029c9ab4a210536ba |ello/7fe990cfc85c2c8087157b
                   |000dcb5b8900f08173          |84d040171cd9ab330e

--- Comment #22 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 7fe990cfc85c2c8087157b84d040171cd9ab330e by Ralf Habacker.
Committed on 30/01/2014 at 23:54.
Pushed by habacker into branch 'master'.

Fix crash adding UMLObject to a UMLAssociation parent.

UMLAssociation is not derived from UMLPackage, which is required to be
used as parent.

The root cause for the crash is a c++ parse error, which is covered by
another commit.

M  +7    -2    umbrello/cmds/generic/cmd_createUMLObject.cpp
M  +5    -2    umbrello/codeimport/import_utils.cpp

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

--- Comment #21 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 4d4cbb10b1eb825ee7189eaf0aa8e4bd415a9972 by Ralf Habacker.
Committed on 01/02/2014 at 10:31.
Pushed by habacker into branch 'master'.

Fix nested template parse error.

The term '>>' is parsed as Token_shift, which prevents to be used
as template closing tag and results into using a not supported
UMLAssociation object as parent.

M  +1    -1    umbrello/codeimport/kdevcppparser/lexer.cpp
M  +6    -2    umbrello/codeimport/kdevcppparser/parser.cpp
M  +1    -1    umbrello/codeimport/kdevcppparser/preprocesslexer.cpp
M  +1    -1    umbrello/codeimport/kdevcppparser/preprocesslexer.h

http://commits.kde.org/umbrello/4d4cbb10b1eb825ee7189eaf0aa8e4bd415a9972

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


More information about the umbrello-devel mailing list