|
From: Eric M. <ya...@ya...> - 2004-07-30 21:06:30
|
Hi: There is a bug in the FtpPlugin's ConnectionManager.java. In method getConnectionInfo, the dialog box collected info is put in the ConnectionInfo object, and put into the logins HashMap, but if the user mistypes his password, but not the userid, this info is stored as hash, and passed to the work thread that does the connection. Now, if the connection fails bacuase of bad authentication, the user wants to try again, but cannot because his login is already cached in logins, and that info is being used over and over again. The only option is to restart the editor. The fix is to move the caching down to getConnection method which is invoked by the work thead. If the connection establishment fails, and an exception is thrown, the logins cache is not filled. The effected lines are marked by <ibuday> tags. ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca |