Community
Participate
Working Groups
To replicate 1) open a shell for a folder under MY HOME filter in local (Right click on folder and select Launch Shell) 2) rename that folder in the Remote Systems View 3) expand the folder Folder is unreadable Ive noticed if you were to refresh the MY HOME filter, the folder will switch back to its original name. -----------Enter bugs above this line----------- TM 2.0M7 Testing installation : eclipse-SDK-3.3RC3 RSE install : RSE-SDK-2.0RC3 java.runtime : Sun 1.5.0_06-b05 os.name: : Windows XP 5.1, Service Pack 2 ------------------------------------------------
Looks like a future or 2.0.1 problem.
*** Bug 194050 has been marked as a duplicate of this bug. ***
Actually, the better description of this is in the duplicate (bug #194050): "When rename fails, we should get error message when doing the rename, not after the rename and when we want to expand it."
Rename will fail when the folder is in use. The LocalFileService wasn't handling cases where the rename failed (i.e. returned false). To fix, that I put in code to throw a generic rename exception if java.io.File.rename() returns false. Although the shown error message does not explicitly what caused the problem, the user will hopefully be able to infer why this failed.
I tried this scenario using 0713 2.0.1 driver. I got a message: Renaming of the object aaaaaaa failed. Details: Rename operation failed because, the object to rename does not exist, or the object with new object name already exists, or the user does not have enough authority to rename the object This is working as intended.
closing as per comment #5