Summary: | Crash when trying to associate two classes in a collaboration diagram | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | David Faure <faure> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
David Faure
2003-09-08 14:34:24 UTC
This appears to fix it, but then I can't change the label on the association !? --- associationwidget.cpp 7 Sep 2003 19:01:05 -0000 1.30 +++ associationwidget.cpp 8 Sep 2003 12:56:17 -0000 @@ -67,7 +67,7 @@ AssociationWidget::AssociationWidget(QWi //collaboration messages need a name label because it's that //which handles the right click menu options if (getAssocType() == at_Coll_Message) { - setName( dynamic_cast<FloatingText*>(getNameWidget())->getText() ); + setName( QString::null ); m_pName->setUMLObject( m_pWidgetB->getUMLObject() ); } Subject: Re: [Uml-devel] Crash when trying to associate two classes
in a collaboration diagram
David Faure wrote:
> ------- Additional Comments From faure@kde.org 2003-09-08 14:57 -------
> This appears to fix it, but then I can't change the label on the association
> !?
I will look at this. Just give me a day or two.
Thanks for your patience
Oliver
Fixed in CVS. Please verify. Subject: Re: Crash when trying to associate two classes in a collaboration diagram
On Saturday 13 September 2003 21:50, you wrote:
> Fixed in CVS.
> Please verify.
No crash anymore, but after saving and reloading all the associations are gone...
Maybe related:
umbrello: ERROR: AssociationWidget::loadFromXMI(): cannot find widget for roleA id 87
umbrello: ERROR: AssociationWidget::loadFromXMI(): cannot find widget for roleA id 88
umbrello: ERROR: AssociationWidget::loadFromXMI(): cannot find widget for roleA id 86
umbrello: ERROR: AssociationWidget::loadFromXMI(): cannot find widget for roleA id 89
(Also, it still doesn't seem possible to put text on the associations (in the RMB
I only see "new operation / select operation", is that what's supposed to make up
the text on the arrows?)
PS: starting umbrello with a .xmi file on the command line doesn't work: the file
gets loaded but automatically cleared out.
The textual input at the message is broken, and to solve this cleanly we need a major overhaul of the FloatingText class. OTOH, I cannot reproduce the missing associations with current CVS. Could you please do the following: 1. Try again with current CVS. 2. If you continue to see problems, create an XMI file attachment to this bug so that others have a chance of reproducing it. Thanks. The associations are okay. Unless some hero pops up to save the day, the FloatingText overhaul is not likely to happen in time for KDE 3.2. |