Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334017 - After using the Visual Editor, trying to refactor/move a project reports errors.
Summary: After using the Visual Editor, trying to refactor/move a project reports errors.
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: VE (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: VE Bugzilla inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-11 13:40 EST by Mark Karuzis CLA
Modified: 2011-06-13 11:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Karuzis CLA 2011-01-11 13:40:05 EST
Build Identifier: M20090211-1700 

After modifying/saving a file using the VE, the VE appears to be holding a handle to the root folder for the project.  At that point, attempting to move the project throws an exception, since it cannot delete the project's root folder.  As a result of the exception, the UI is not refreshed correctly.  (For example, the project files are actually all moved, but the properties page still shows the project as residing in the original location  (until you do a refresh).

Note that I've described the simplest way to reproduce the problem in a trivial environment.  In my case, it's breaking our Team Share wizard, responsible for putting a project under source control.  In this case, the recovery path is extremely non-intuitive for the user.

Reproducible: Always

Steps to Reproduce:
1.Create a java project.
2.Create a java class.
3.The new class is shown in an editor, close it.
4.Open the new class using VE.
5.Make any change to the class, and save it.
6. From the project node's context menu, click Refactor -> Move
7. Choose a new location, and click OK