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

Bug 311530

Summary: Disable Undo Delete Resources if project are deleted from file system
Product: z_Archived Reporter: Teodor Kirkov <teodor.k>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: silviya, wywrzal, zhaozhongwei
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Error mention at issue description none

Description Teodor Kirkov CLA 2010-05-04 08:51:00 EDT
Build Identifier: 2.2.0.v20100427

It is necessary to disable Undo Delete Resources if delete projects from file system - after revert it at Workspace they are malfunction 

Reproducible: Always

Steps to Reproduce:
1. Delete PHP Project from PDT with use a option Delete project contents on disk (cannot be undone)
2. Click Edit->Undo Delete Resources
3. Right Context menu over reverted project and go to Build Path -> Configure Build Path

Expected result:
To have valid undeleted project with all possible options working

Actual result:
We have screen error: The currently displayed page contains invalid values
and no more option to configure your build path
Comment 1 Teodor Kirkov CLA 2010-05-04 08:51:40 EDT
Created attachment 166947 [details]
Error mention at issue description
Comment 2 Zhongwei Zhao CLA 2010-05-04 10:50:47 EDT
Now we call the eclipse org.eclipse.ui.actions.DeleteResourceAction to delete projects,so it is the eclipse default behavior(a bug of eclipse platform).Now I change the code,and there is no error dialog popuped now.By the way JDT could also Undo Deleted project too,so this is not PDT special.
Comment 3 Michal Niewrzal CLA 2016-06-13 06:58:05 EDT
No undo option after deleting project. Fixed indirectly.
Comment 4 Sylvia Tancheva CLA 2016-06-28 10:05:14 EDT
Verified, closing