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 96118 - diagram is corrupted if wasn't saved after CDFS
Summary: diagram is corrupted if wasn't saved after CDFS
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:49 UTC by Sergey Petrov
Modified: 2007-02-23 01:02 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:49:39 UTC
reproducible with 070221_1

see also Issue 95782, regression from coco, can lead to corrupted nodes in
project tree if say No to save on diagram closing

steps:
1. create package
2. add class to the package
3. invoke CDFS on the class and create class diagram
created diagram is in dirty state
4. expand nodes to see the diagram in project tree
5. close the diagram and say No
diagram's node is corrupted and diagram can't be opened
Comment 1 Thuy.d Nguyen 2007-02-21 18:55:46 UTC
This issue has the same root cause as 95782 and has been fixed as a result of
the fix for  
95782.  
Comment 2 Andrew Korostelev 2007-02-22 13:41:24 UTC
verified in all-nbms-griffin-070221_11
Not if you do not save diagram created using CDFS, it is not corrupted.
Close as verified.

Necessity to automatically save diagram content and layout is still under
discussion.
Comment 3 Andrew Korostelev 2007-02-22 13:50:00 UTC
Summary was changed to describe only verified case with corrupted diagram.

Problem with Not saved diagram content should be filed as separate issue if will
be considered as a bug.
Comment 4 Thuy.d Nguyen 2007-02-23 01:02:44 UTC
A fix has been put in to auto save a CDFS diagram right after the diagram being
generated. (See issue 96121 for similar discussion).