[umbrello-devel] [umbrello] [Bug 338983] Umbrello crashed when opening entity relationship diagram previously saved

Oliver Kellogg okellogg at users.sourceforge.net
Wed Sep 10 19:59:22 UTC 2014


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/umbr
                   |                            |ello/286493f59c953908378161
                   |                            |2027587740f6f8902d

--- Comment #3 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit 286493f59c9539083781612027587740f6f8902d by Oliver Kellogg.
Committed on 10/09/2014 at 20:00.
Pushed by okellogg into branch 'master'.

(In reply to Oliver Kellogg from comment #2)
> [...]
> However, the backtrace tells a different story:
> Somehow Umbrello thinks you are _moving_ the diagram in the list view, not
> double clicking on it.

Here is the fix for the crash in this case:

umbrello/clipboard/umlclipboard.cpp
- In function checkItemForCopyType() case Model_Utils::typeIsDiagram(type),
  check return value from doc->findView(item->ID()) against NULL prior to
  insertion into m_ViewList.

M  +6    -3    umbrello/clipboard/umlclipboard.cpp

http://commits.kde.org/umbrello/286493f59c9539083781612027587740f6f8902d

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


More information about the umbrello-devel mailing list