Bug 191589

Summary: [efs] Error Renaming a file in a remote EFS project
Product: [Tools] Target Management Reporter: Kevin Doyle <kjdoyle>
Component: RSEAssignee: Martin Oberhuber <mober.at+eclipse>
Status: CLOSED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P2 CC: dmcknigh, kmunir
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 199243    
Attachments:
Description Flags
Log File none

Description Kevin Doyle CLA 2007-06-07 17:07:55 EDT
If I try to rename a file in a remote project I get the following error:

An exception has been caught while processing the refactoring 'Rename Resource'.
Reason:
Problems encountered while moving resources.

  Problems encountered while moving resources.
    Could not move: rse://LOCALHOST/D:/kevin/feb8/test5.rpgle.
      This file system is read only: rse://LOCALHOST/D:/kevin/feb8/kevin.txt.

Steps to Reproduce:
1. Create a remote project by finding a folder and right clicking and selecting "Create Remote Project"
2. Switch to the Java/Resource perspective.
3. Press F2 on a file or go to File -> Rename.

-----------Enter bugs above this line-----------
TM 2.0RC2 Testing
installation : eclipse-SDK-3.3RC3
RSE install  : RSE 2.0 RC2
java.runtime : Sun 1.5.0_11-b03
os.name:     : Windows XP, Service Pack 2
------------------------------------------------
Comment 1 Kevin Doyle CLA 2007-06-07 17:10:56 EDT
Created attachment 70583 [details]
Log File
Comment 2 Martin Oberhuber CLA 2007-06-12 08:15:00 EDT
This might be because the : character is invalid in URIs.
Then it would apply to remote windows machines only.
Comment 3 Martin Oberhuber CLA 2007-08-10 05:44:37 EDT
The problem is simply that RSEFileStore does not override FileStore#putInfo()
I will this fix shortly.
Comment 4 Martin Oberhuber CLA 2007-08-10 07:25:01 EDT
Fix committed:
[191589] fix Rename by adding putInfo() for RSE EFS, and fetch symlink info
   RSEFileStore  1.3
   RSEFileStoreImpl  1.4

Also fixed bug #199548 along the way.
Comment 5 Kevin Doyle CLA 2007-09-13 10:24:41 EDT
Verified with 2.0.1RC1.