Bug 191589 - [efs] Error Renaming a file in a remote EFS project
Summary: [efs] Error Renaming a file in a remote EFS project
Status: CLOSED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Martin Oberhuber CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 199243
  Show dependency tree
 
Reported: 2007-06-07 17:07 EDT by Kevin Doyle CLA
Modified: 2007-09-13 10:24 EDT (History)
2 users (show)

See Also:


Attachments
Log File (86.35 KB, application/octet-stream)
2007-06-07 17:10 EDT, Kevin Doyle CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.