Bug 192725

Summary: Deleting Files from Remote Search view doesn't remove them from view
Product: [Tools] Target Management Reporter: Kevin Doyle <kjdoyle>
Component: RSEAssignee: David McKnight <dmcknigh>
Status: CLOSED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: minor    
Priority: P4 CC: dmcknigh, kmunir
Version: 2.0Keywords: contributed
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Changed mentions of Vector to List so ArrayList is handled.
mober.at+eclipse: iplog+
Fix for Deleting files within Archives not removing them from view mober.at+eclipse: iplog+

Description Kevin Doyle CLA 2007-06-14 13:44:16 EDT
If you right click on a file in the Remote Search View and select Delete the file is deleted from the connection, but the file is still visible in the Remote Search view.

Steps to Reproduce:
1. Perform some remote search.
2. In the Remote Search view right click on a file and select Delete.
3. The file is still shown in the view.

-----------Enter bugs above this line-----------
TM 2.0RC3 Testing
installation : eclipse-SDK-3.3RC4
RSE install  : RSE 2.0 RC3
java.runtime : Sun 1.5.0_11-b03
os.name:     : Windows XP, Service Pack 2
------------------------------------------------
Comment 1 Martin Oberhuber CLA 2007-06-28 08:43:43 EDT
Looks like a refresh is missing here.
Comment 2 Kevin Doyle CLA 2007-07-10 13:01:43 EDT
Created attachment 73452 [details]
Changed mentions of Vector to List so ArrayList is handled.

This was an issue with refresh and not handling an ArrayList of objects.

Legal Message: I, Kevin Doyle, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL. I am authorized by my employer, IBM Canada Ltd. to make this
contribution under the EPL.
Comment 3 Martin Oberhuber CLA 2007-07-12 08:35:54 EDT
Dave I've seen you committed this: [bug 193394] Kevin's patch for Changed mentions of Vector to java.util.List as passed child is an ArrayList not a Vector

The patch attached here seems very similar, could you have a look?
Comment 4 David McKnight CLA 2007-07-12 09:23:49 EDT
I've committed the changes.
Comment 5 Kevin Doyle CLA 2007-07-15 15:48:04 EDT
Reopening as deleting files/folders from an archive doesn't remove them from the Search View as they aren't part of the result set.
Comment 6 Kevin Doyle CLA 2007-07-16 11:52:36 EDT
Created attachment 73859 [details]
Fix for Deleting files within Archives not removing them from view

Legal Message: I, Kevin Doyle, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL. I am authorized by my employer, IBM Canada Ltd. to make this
contribution under the EPL.
Comment 7 David McKnight CLA 2007-07-16 14:02:08 EDT
I've committed the patch to cvs.
Comment 8 Kevin Doyle CLA 2007-07-19 17:19:00 EDT
Verified with I20070719-1300.