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 113675

Summary: Add attribute to interface wrongly generates getter/setter methods
Product: uml Reporter: Joanne Lau <j_lau>
Component: Diagram ClassAssignee: Thuy.d Nguyen <thuydn>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P1    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Joanne Lau 2007-08-23 23:15:07 UTC
NB: 200708230115 

Steps:
1) Drop an interface element to the class diagram editor
2) Add an attribute to the interface
   Notice the getter/setter methods created in the diagram
3) Delete the attribute
   Notice the getter/setter methods still remain

This is a regression.
Comment 1 Peter Lam 2007-08-23 23:29:06 UTC
The getter/setter should NOT be generated for attributes of interface elements at all.
Comment 2 Peter Lam 2007-08-23 23:31:49 UTC
This issue might be related to issue 113670.
Comment 3 Thuy.d Nguyen 2007-08-24 17:54:27 UTC
This regression is caused by the fix for issue 78803.  
Fixed and integrated.
Comment 4 Joanne Lau 2007-08-27 19:12:03 UTC
Verified in build 070827 (hudson build 2816)
Comment 5 Joanne Lau 2007-08-27 19:13:28 UTC
Verified in build 070827
Comment 6 Peter Lam 2007-08-27 19:30:21 UTC
verified in build 070827-b2819