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 4517

Summary: Restart action in Enterprise does not invoke Save dialog.
Product: platform Reporter: issues@www <issues>
Component: -- Other --Assignee: issues@www <issues>
Status: CLOSED WORKSFORME    
Severity: normal    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description issues@www 1999-10-15 16:54:43 UTC
Any unsaved work is lost.

[jglick] I will first invoke TopManager.saveAll as a workaround. However, the implementation in NbTopManager is IMHO incorrect. SystemExit action (com.netbeans.developer.impl.actions) does all the wor
k of prompting to save various files with a nice dialog, etc. However, calling NbTopManager.restart() -- or for that matter TopManager.exit() -- does none of this, it does not even call saveAll(). Cer
tainly TopManager.exit call should behave nicely in this way, since it is a published API. NbTopManager.restart should as well (does Auto Update module save everything before invoking it??). So, NbTop
Manager impl should show this dialog etc., and SystemExit action should do nothing more than call TopManager.exit().

[jglick] Using workaround as mentioned above, fixing API is lower priority.
Comment 1 Quality Engineering 2003-07-02 14:53:12 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 2 Quality Engineering 2003-07-02 15:12:25 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.