Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344787 - Confusing dialog when file opened in editor is deleted externally and user is trying to save it via Eclipse
Summary: Confusing dialog when file opened in editor is deleted externally and user is...
Status: CLOSED DUPLICATE of bug 97510
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-05 03:23 EDT by Vlado Pakan CLA
Modified: 2011-05-05 03:59 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vlado Pakan CLA 2011-05-05 03:23:02 EDT
Build Identifier: M20110210-1200

See Steps to Reproduce

Reproducible: Always

Steps to Reproduce:
1. Open some file in Eclipse
2. Delete this file using OS
3. Click on the editor within Eclipse containing deleted file
4. Answer Save in Dialog informing that file was deleted and asking if user wants to save changes.
5. Save as dialog appears offering to save deleted file with the name and location that file has before it was deleted.
6. Choose OK
7. Dialog informing that file already exists is displayed and is asking user if he wants to replace existing file.

This dialog is confusing because at that moment file is deleted from file system so there is nothing to be replaced. File should be saved without asking. Probably problem is that deleted file is still present in Package Explorer because after file was deleted from file system Package Explorer content was not refreshed.
Comment 1 Dani Megert CLA 2011-05-05 03:59:35 EDT

*** This bug has been marked as a duplicate of bug 97510 ***