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 110656 - package element disappears from class diagram when Re a new class
Summary: package element disappears from class diagram when Re a new class
Status: RESOLVED WONTFIX
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Yang Su
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-07-23 23:50 UTC by Sherry Zhou
Modified: 2007-08-30 18:31 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-23 23:50:13 UTC
build 070723

1. Add a package element to a class diagram, name it pkg
2. Add a class element and link it to the package, and name it Class1 
3. Invoke code generation
4. In the java project where the code generated, right click at pkg select New >Class File
to create a class named Class2.
5. Reverse Class2.java
-- the pkg element disappears in the diagram.
Comment 1 Yang Su 2007-08-30 18:31:49 UTC
The regression surfaced after the fix in diagram deep synchronization logic which happens after RE, see issue 82727,
issue 87841.

The current RE design has limitations on partial RE that can not capture all relationships required to update model /
diagram. User should be advised against this approach. In this case, user should RE entire package again to properly
update the model.