Summary: | automatic generated composition won't be deleted when changing the attributes data type | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | savar |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | ralf.habacker |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
savar
2007-06-05 10:24:08 UTC
Do not crash with recent git source anymore. Association is still not removed. 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. Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved. |