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 15764 - When switching Projects, not all modified Files are saved
Summary: When switching Projects, not all modified Files are saved
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-21 12:58 UTC by cbast
Modified: 2008-12-22 16:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch on NbTopManager.java (1.03 KB, patch)
2001-09-21 13:01 UTC, cbast
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cbast 2001-09-21 12:58:27 UTC
We have written a NetBeans Module that changes files (managed and mounted in a 
NbFilesystem) without using a NetBeans editor.
When we change Project there is no warning given to save (or discard) changes 
made to these files.
Solution:
Do the same as with unmounting a Filesystem: check if are changed etc. using 
the ExitDialog.

(see attachement for patch on NbTopManager.java)
Comment 1 cbast 2001-09-21 13:01:00 UTC
Created attachment 2640 [details]
patch on NbTopManager.java
Comment 2 cbast 2001-09-21 13:01:55 UTC
(patch is on 1.92.2.6)
Comment 3 _ ttran 2001-09-25 09:54:47 UTC
Vita, please examine the patch.  If you decide to accept it, then
don't forget to add the author's name and email to
core/release/CREDITS.html
Comment 4 Vitezslav Stejskal 2001-09-25 10:53:05 UTC
Patch seems good, thanks Carel. I will apply it and update credits as 
well. Carel, is the cbast@netbeans.org email address you want to be 
listed in credits?
Comment 5 Vitezslav Stejskal 2001-09-25 16:18:06 UTC
Patch aplied in main trunk, please verify.
Comment 6 Marian Mirilovic 2002-04-19 16:13:16 UTC
verified in [nb_dev](20020419)
Comment 7 Quality Engineering 2003-07-01 16:33:40 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.