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 - Add attribute to interface wrongly generates getter/setter methods
Summary: Add attribute to interface wrongly generates getter/setter methods
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Thuy.d Nguyen
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-08-23 23:15 UTC by Joanne Lau
Modified: 2007-08-27 19:30 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 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