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 129477

Summary: Unnamed qualified created vi "Add qualifier" context menu
Product: uml Reporter: Joanne Lau <j_lau>
Component: Diagram ClassAssignee: issues@uml <issues>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 128348    
Bug Blocks:    
Attachments: snapshot on Unnamed qualifier

Description Joanne Lau 2008-03-06 23:12:57 UTC
Build: 080306

Steps to repro:
1) Create 2 class elements, and add an assocation link between the 2 classes
2) Move the mouse to the left or the right most of the link, right click -> Add qualifier

 There are 2 problems I'm seeing:
  - Notice that the qualifier is created with the name "Unnamed" 
    In NB6.0,  it was named "Qualifiers"

  - There is space between the link and the qualifier, seems to be chopped up
   
   (See attached snapshot)
Comment 1 Joanne Lau 2008-03-06 23:13:47 UTC
Created attachment 57922 [details]
snapshot on Unnamed qualifier
Comment 2 Trey Spiva 2008-03-07 17:14:27 UTC
The first item listed is by design.  According to the specification a qualifier is an attribute that is associated to the association end.  Therefore when you add a 
qualifier you are adding an attribute.  Since the Qualifier logic is not complete you are not able to select the attribute/qualifier and modify the name and type.

That will be fixed in the next sprint.

The second item is a problem, and like I mentioned in the documentation it will be fixed when the Visual Library problem is fixed.  The Visual Library Issue is 128348.
Comment 3 Trey Spiva 2008-03-07 17:15:54 UTC
I am closing this issue as a duplicate since the only problem is the mentioned visual library issue.

*** This issue has been marked as a duplicate of 128348 ***
Comment 4 Trey Spiva 2008-03-12 23:38:22 UTC
I have checked in the fix for this issue into our repository.  But since it has not gone thru the API review I can not close the dependent issue.  Therefore, I 
am opening the issue so I can close this issue.
Comment 5 Trey Spiva 2008-03-12 23:39:01 UTC
It is now safe to test this issue.

http://hg.netbeans.org/uml-meteora/rev/ce8e2aa62c28
http://hg.netbeans.org/uml-meteora/rev/34c5f33c32e9
Comment 6 Joanne Lau 2008-04-15 18:15:26 UTC
Fix verified in build 080414