Bug 243921 - FTP subsystem timeout causes error when expanding folders
Summary: FTP subsystem timeout causes error when expanding folders
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 3.0.1   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 269171 300394
  Show dependency tree
 
Reported: 2008-08-12 14:20 EDT by Ankit Pasricha CLA
Modified: 2010-03-15 17:38 EDT (History)
1 user (show)

See Also:


Attachments
patch to do noop() when checking if ftp client is still connected (1.98 KB, patch)
2008-08-13 16:35 EDT, David McKnight CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ankit Pasricha CLA 2008-08-12 14:20:51 EDT
Steps to reproduce:

1. Create a connection to a remote system using the FTP connection type.
2. Expand the My Home filter. Folders and files in your home directory should show up.
3. Do not perform any other actions and wait for the connection to time out.
4. Expand a folder within your home directory. 

Note that RSE re-establishes the connection. However, UI does not wait for the connection so the expansion of the folder returns an error.
Comment 1 David McKnight CLA 2008-08-13 16:35:59 EDT
Created attachment 109933 [details]
patch to do noop() when checking if ftp client is still connected

Here's one approach to dealing with this issue although I'm not sure if it's the best solution since a noop is called everytime a call to FTPService.isConnected() gets called (and this results in a message on the console).

Any thoughts on this?
Comment 2 David McKnight CLA 2008-08-15 12:30:45 EDT
I haven't got a response on my patch so I'm just going to commit it since it's needed for 3.0.1.