[Uml-devel] [Bug 112992] moving message widget in sequence diagram causes crash when other message is deleted

Peter Soetens peter.soetens at mech.kuleuven.be
Wed Sep 21 02:09:04 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=112992         




------- Additional Comments From peter.soetens mech kuleuven be  2005-09-21 11:05 -------
Created an attachment (id=12645)
 --> (http://bugs.kde.org/attachment.cgi?id=12645&action=view)
PATCH: correctly create and delete messages in sequence diagram

This bug was caused by
1. registering the message *twice* with the objects upon creation from toolbar
2. not checking for this in the registration functions, although relying on
correct use
3. not using the contract of an associationwidget correctly in the toolbar
widget. (activate() may *only* be called after serialisation, not after 'plain'
construction.

This patch fixes these three issues and maintains the contract.

NOTE to developers : this patch comments out the old code, you may remove the
commented parts all together before committing in svn.




More information about the umbrello-devel mailing list