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.
Summary: | Class renaming is not propagated to attribute initialization | ||
---|---|---|---|
Product: | uml | Reporter: | Alexandr Scherbatiy <sunflower> |
Component: | Diagram Class | Assignee: | issues@uml <issues> |
Status: | REOPENED --- | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Attribute initialization is not updated |
Description
Alexandr Scherbatiy
2006-07-05 13:24:48 UTC
Created attachment 31651 [details]
Attribute initialization is not updated
This scenario is obsolete because of the Roundtrip Redisgn: issue 84855 verified in all-nbms-griffin-061012_6 on nb55rc2 now this bug most likely belongs to class diagram (while mostly effects code_generation). But not sure requested functionality should be supported by class diagram. steps: - in java project create classes A and B. - add new 'private A a = new A()' attribute into the 'B' class - RE java project to uml project. - CDFS class diagram from A and B. NAvigable aggregation will appear between them. - on diagram rename A to C. - open properties for aggregation link - find 'Part end' block of properies. - look at 'Default' property value. It is still 'new A()'. Default value wasn't removed and will be generated as is into source code. Planned for drawing area upgrade after NB 6.0. Should not use resolved/later status. Targeted in drawing area redesign. Restoring original priority and using the standard NB waiver process. Diagram area bugs waived for 6.0 will also be waived for 6.1. it's advanced re-factoring support request, when initial value is always just a literal in nb uml. |