Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 2468

Summary: [OLE] [UI] EditorInput is not updated in most editors on move and rename (1GF7T8Q)
Product: [Eclipse Project] Platform Reporter: Tod Creasey <Tod_Creasey>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 Keywords: investigate
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: Windows NT   
Whiteboard:

Description Tod Creasey CLA 2001-10-10 22:36:59 EDT
If you rename a file that currently has an OLEEditor or external editor open on it 
the EditorInput is not updated. As a result a save will save it to the old location.
STEPS
	1) Create a file foo.doc
	2) Open an editor on it
	3) Rename the file to bar.doc - no editor update
	4) If you then save the editor it will re create foo.

TC (6/12/01 12:11:46 PM) - this is also an issue for move
NOTES:

NE (6/15/01 1:51:14 PM)
	Readme doc:
99.1.1.1 Rename and move do not update OLE editors

If a rename or move is done on a file that is open in an OLE editor, the editor's input is not switched to the new file.
Subsequent saves will re-save the file under the old name, not the new name.
Comment 1 DJ Houghton CLA 2001-10-29 18:29:59 EST
PRODUCT VERSION: 122


Comment 2 Tod Creasey CLA 2002-01-22 10:16:02 EST
The tag update is still an issue but the rename within Eclipse works fine - if 
you resave it will save to the new name even though it is telling you a 
different name.
Comment 3 Randy Giffen CLA 2002-05-27 21:26:41 EDT
Defer
Comment 4 Randy Giffen CLA 2002-08-08 11:40:03 EDT
Reopen for investigation
Comment 5 Tod Creasey CLA 2002-09-11 10:18:28 EDT
Works in build 20020910.