[umbrello-devel] [umbrello] [Bug 225290] Umbrello segmentation fault crash modifying attribute

Joris Steyn jorissteyn at gmail.com
Wed Jan 1 22:16:50 UTC 2014


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

Joris Steyn <jorissteyn at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|http://commits.kde.org/umbr |http://commits.kde.org/umbr
                   |ello/e84b97d0ebc3b0c82a0688 |ello/923ba58b365ea1900fb13c
                   |f9daf6365bc22ae405          |041a3c9552eb5c2759

--- Comment #9 from Joris Steyn <jorissteyn at gmail.com> ---
Git commit 923ba58b365ea1900fb13c041a3c9552eb5c2759 by Joris Steyn.
Committed on 01/01/2014 at 21:57.
Pushed by jorissteyn into branch 'master'.

Better fix for attribute creation crash

Previous fix was faulty. The problem occurs when an object is looked up with an
empty name. Instead of not finding an object, umldoc can return an arbitrary
association object instead, resulting in problems in Import_Utils.

This change prevents calling Import_Utils with an empty typeName, so when an
attribute is created without specifying a type, the default behaviour of
creating a new class with Object_Factory is triggered - which handles this case
well.

M  +13   -2    umbrello/dialogs/umlattributedialog.cpp

http://commits.kde.org/umbrello/923ba58b365ea1900fb13c041a3c9552eb5c2759

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


More information about the umbrello-devel mailing list