This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 110846 - equals sign not removed after default value is removed
Summary: equals sign not removed after default value is removed
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-25 00:05 UTC by Sherry Zhou
Modified: 2009-05-25 21:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sherry Zhou 2007-07-25 00:05:27 UTC
build 070724

Regression from nb5.5.1

1. Add a class element to a class diagram
2. Add an attribute with default value 
    private int counter=1
3. Remove the default value from the properties sheet.
-- "=" still stays in the diagram
    private int counter
Comment 1 Craig Conover 2007-08-08 22:56:20 UTC
When I do this, the "=" sign disappears.
Unable to reproduce on WinXP. Perhaps OS specific issue?
Comment 2 Peter Lam 2007-08-24 00:24:38 UTC
Actually the step #3 is not specific enough. It should have indicated to do the following so that a space remains.
3. from the properties sheet, select the default value, eg, double click the value
4. press Space bar to delete the the value ==>> this action really replaces the value with a space instead of deleting it.

The issue is that it's not smart enough to remove the '=' sign if there's a space there. I'll re-open this one for the case.
Comment 3 George Vasick 2007-08-28 21:41:11 UTC
Not a regression.  Reproducible in 5.5.1 as well.
Comment 4 Joanne Lau 2008-06-10 19:50:26 UTC
Still exists in 6.5