[umbrello-devel] [umbrello] [Bug 146386] automatic generated composition won't be deleted when changing the attributes data type

Ralf Habacker ralf.habacker at freenet.de
Thu Aug 15 14:41:36 UTC 2013


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

--- Comment #2 from Ralf Habacker <ralf.habacker at freenet.de> ---
After looking into this stuff i found out that there is a problem with the
create-auto-associations logic. 

In bool UMLAttributeDialog::apply() a rename of an attribute type (the
referenced class) is applied to the model and widgets. m_pAttribute->setName,
setType and other methods  emits the UMLObject::modified() signal, which is
connected to UMLWidget::updateWidget(), which itself calls
UMLScene::createAutoAssociations(). 

createAutoAssociations() add's an AssociationWidget instance for each class
attribute, if the related class widget is displayed. Unfortunally it do not
remove outdated associations, which should happens before.

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


More information about the umbrello-devel mailing list