Bug 107405 - unable to remove association values from the pop-up menu using Change... commands
Summary: unable to remove association values from the pop-up menu using Change... comm...
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 1.4.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-14 16:01 UTC by heikki.lehvaslaiho
Modified: 2005-10-16 17:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description heikki.lehvaslaiho 2005-06-14 16:01:13 UTC
Version:           1.4.1 (using KDE 3.4.1, Kubuntu Package 4:3.4.1-0ubuntu0hoary1 ())
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2)
OS:                Linux (i686) release 2.6.10-5-686

The pop-up menu on class associations have several commands that allows one to change name, role names and cardinalitity of the association:

Change Association Name...
Change role A name...
Change role B name...
Change Multiplicity...

If any of these has a string value and you access it using the above menu commands, the OK button gets disabled when you delete all characters from the field. The only way away from the dialog is to press the Cancel button, which keeps the value unchanged. You have to go the Properties command that opens the full Association Properties window to remove any unwanted values.

This might a feature rather than a bug but I can not see any good reasons for not allowing the removal of values using this shortcut.
Comment 1 Oliver Kellogg 2005-10-16 17:16:34 UTC
SVN commit 471130 by okellogg:

Permit an empty string when changing the name of an AssociationWidget's
FloatingText. Strangely, AssociationWidget::slotMenuSelection() is not
involved in this - only FloatingText::slotMenuSelection(mt_Rename).
BUG:107405


 M  +3 -3      ChangeLog  
 M  +70 -52    umbrello/associationwidget.cpp  
 M  +1 -1      umbrello/associationwidget.h  
 M  +39 -8     umbrello/floatingtext.cpp