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 96119 - Generate Dependency diagram doesn't save created diagram
Summary: Generate Dependency diagram doesn't save created diagram
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Thuy.d Nguyen
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-02-21 10:52 UTC by Sergey Petrov
Modified: 2007-02-23 19:15 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 Sergey Petrov 2007-02-21 10:52:37 UTC
reproducible with 070221_1

see also Issue 95782,

steps:
1. create package
2. add class to the package
3. invoke 'Generate Dependency Diagram'
created diagram is dirty
4. close the diagram without save
diagram's node is corrupted
Comment 1 Thuy.d Nguyen 2007-02-21 23:25:06 UTC
Fixed the code so that when a user closes the newly created diagram without
saving its content, the diagram node on the project tree is not corrupted and
the (empty) diagram can still be reopened.  
Comment 2 Peter Lam 2007-02-22 23:09:38 UTC
verified in build 070222.
Comment 3 Thuy.d Nguyen 2007-02-23 01:19:56 UTC
An additional fix has been put in to auto save a dependency diagram right after
the diagram being generated. (See issue 96121 for similar discussion).
Comment 4 Peter Lam 2007-02-23 19:15:39 UTC
re-verified new fix in build 070222_3. Now newly generated dependency diagram is
auto saved when closed without any modification.