Community
Participate
Working Groups
While connecting (during one click update) received java.net.ConnectException which prevents us from searching other sites. I believe the code only check for java.io exception, we should check for java.net exceptions too.
Wrong assumption, I saw the search continuing and finding other sites. the dialog showed (network error occured) close as invalid
Ok, when searching through regular search, root 1.0.1 is found, when using one click update, it is not. Now, i check ed search bookmarked site in scope settings is that normal or should it behave like regular search, i.e fail on http site, then find update on file system and prompt user ?
Is this the issue of the update URL on Nevada?
Apparently, it is not. Search object created for both UM and one-click searches does the same thing: if makes a collection of candidate sites to visit, then loops through sites and looks for updates for candidate features. When connection exceptions are thrown, it does not terminate, rather it collects status objects and moves on to the next site. When search is finished, it will throw the joint core exception using the collected status (merged into a multi-status). At this point, UM search simply displays the error message, but the result is shown after that without problems. One-click update will show the error message as a problem, log it and quit. The fix is to check the multi-status result code and simply show the error but proceed because one-click update can turn results in spite of the connection problems. The fix has been tested and it works well - it finds identical updates as the Update Manager search.
fixed