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 112239

Summary: dirty UML projects are not saved on ide exit
Product: uml Reporter: Peter Lam <petersl>
Component: ProjectAssignee: Yang Su <sherylsu>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Peter Lam 2007-08-07 20:54:04 UTC
With recent builds, at least builds from 20070806 & 20070807, exiting ide with dirty project was not saved even though
manually indicated Save All from the Save project dialog when exiting ide.

Repro steps:
- start ide in a fresh userdir
- create a java-platform model project
- create a class diagram
- create and name a couple of classes on the class diagram
- exit ide 
- from the Save dialog that pops up, select Save All so ide saves the diagram and project and exits
- start ide again 
- expand the uml project and the Model node
Result: nothing except just the diagram node is there
- open the diagram 
Result: the classes in the diagram flashed by and disappeared followed by the following Information dialog

" The diagram is being modified based on the changes in the mo..."
Comment 1 Peter Lam 2007-08-07 20:54:58 UTC
the build I am using is netbeans-hudson-trunk-2322-full.zip (20070807)
Comment 2 Yang Su 2007-08-08 20:25:21 UTC
invoking save logic in AWT thread ( to get hold of documentation TC in order to save doc being edited ) caused the issue
Comment 3 Yang Su 2007-08-08 20:25:49 UTC
fixed
Comment 4 Peter Lam 2007-08-10 18:36:40 UTC
verified in build 070810