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

Bug 321026

Summary: [dstore] Broken symbolic link can't be removed
Product: [Tools] Target Management Reporter: Samuel Wu <samuelwu>
Component: RSEAssignee: David McKnight <dmcknigh>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3 CC: dmcknigh, kjdoyle
Version: 3.2Flags: kjdoyle: review+
Target Milestone: 3.2.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch to try delete() when we can't tell resource is file or folder none

Description Samuel Wu CLA 2010-07-27 10:37:30 EDT
Build Identifier: RSE 3.2.0

This is a problem found in RSE 3.2.0 driver with a dstore connection to zLinux

Reproducible: Always

Steps to Reproduce:
1. Create a dstore connection to a linux system
2. Open the Shell and create a broken symbolic link in a directory folder1
ln -s non-existing.txt link.txt
3. In the RSE system navigator, remove the file link.txt
4. The file is removed from the RSE view 
5. Select containing folder of the file link.txt and refresh it
6. The removed link.txt comes back
Comment 1 David McKnight CLA 2010-08-24 15:48:27 EDT
Created attachment 177363 [details]
patch to try delete() when we can't tell resource is file or folder
Comment 2 David McKnight CLA 2010-08-24 15:49:01 EDT
Kevin, could you review this?  Thanks.
Comment 3 Kevin Doyle CLA 2010-08-25 16:10:39 EDT
Review +.
Comment 4 David McKnight CLA 2010-08-25 16:22:31 EDT
Thanks for the review.  I've committed the change to cvs.