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

Bug 326160

Summary: After moving a project, an opened files can not be saved
Product: z_Archived Reporter: Petyo Tanchev <petyo_tanchev>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Petyo Tanchev CLA 2010-09-24 10:51:28 EDT
For example:
- Clean start of the Studio: ExampleProject with DebugDemo.php file opened in the editor.
- Refactor->Move the project to another location
- Change something in DebugDemo.php
- Click Save button
- "Save As" dialog appears saying "The original file 'DebugDemo.php' has been deleted or is not accessible."
- If you select the ExampleProject in the tree you will be asked for overwriting the existing DebugDemo.php file
- If you click "Cancel" without overwriting, then the button "Save" stops working. It is enabled (not gray) but nothing happens when clicking on it. The opened file is still unsaved and there is '*' on the tab.
- Then if you just click in the PHP Explorer the "Save" button becomes inactive (gray). The file is still unsaved.
- The only way left to save the file is to select the changes or all lines, close the file in editor (it is closed without a question for unsaved file!), open the moved file from Explorer, paste the contents and save it.