Bug 192725 - Deleting Files from Remote Search view doesn't remove them from view
Summary: Deleting Files from Remote Search view doesn't remove them from view
Status: CLOSED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P4 minor (vote)
Target Milestone: 2.0.1   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-06-14 13:44 EDT by Kevin Doyle CLA
Modified: 2011-05-25 07:49 EDT (History)
2 users (show)

See Also:


Attachments
Changed mentions of Vector to List so ArrayList is handled. (1.59 KB, patch)
2007-07-10 13:01 EDT, Kevin Doyle CLA
mober.at+eclipse: iplog+
Details | Diff
Fix for Deleting files within Archives not removing them from view (1010 bytes, patch)
2007-07-16 11:52 EDT, Kevin Doyle CLA
mober.at+eclipse: iplog+
Details | Diff

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