Bug 2353

Summary: [JFace Text] Editor: saving a locked file discards change (1GETAZL)
Product: [Eclipse Project] Platform Reporter: Kevin Haaland <Kevin_Haaland>
Component: UIAssignee: Kai-Uwe Maetzel <kai-uwe_maetzel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: Windows 2000   
Whiteboard:

Description Kevin Haaland CLA 2001-10-10 22:34:43 EDT
Saving a locked file in the editor discards all the change.

1. Create a file in Workbench
2. Open the file in MS Word. Now the file is locked.
3. Modify the file in Workbench
4. Close the file. You'll be prompted by the save message asking if you want to save it. Click Yes.
	The error message shows and the change is lost.

NOTES:
JEL (14/06/2001 10:28:50 AM)
	Should we leave an editor open when a save fails? leaving the user the option to Save As or simply
close without saving.
Comment 1 DJ Houghton CLA 2001-10-29 18:22:18 EST
PRODUCT VERSION:
118 JDK
Windows 2000

Comment 2 Kevin Haaland CLA 2002-01-21 21:54:25 EST
Kai,

  Can this defect be closed?
Comment 3 Kai-Uwe Maetzel CLA 2002-02-05 13:51:15 EST
Closed. The editor stays open after the exception occurred.