Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363829 - Closing Eclipse with a populated Remote System Details view forces a remote system connection
Summary: Closing Eclipse with a populated Remote System Details view forces a remote s...
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 3.4 M4   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-15 09:24 EST by Ralph P CLA
Modified: 2012-02-06 09:35 EST (History)
1 user (show)

See Also:


Attachments
patch to check if connected when saving memento state (2.04 KB, patch)
2011-11-18 16:58 EST, 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 Ralph P CLA 2011-11-15 09:24:57 EST
Build Identifier: M20110210-1200

If Eclipse is closed while the Remote System Details view contains any remote objects, a refresh will be triggered (getChildren(...) of the parent resource).

If the user is disconnected from that system, he will be forced to connect.

Reproducible: Always

Steps to Reproduce:
1. Define an accessible connection in the Remote Systems View (e.g. "FTP Only")
2. Establish a connection without saving your password
3. Use "Show in Table" on a valid Filter which contains remote objects
4. Make sure that the Remote System Details view is visible and populated
5. Disconnect
6. Close Eclipse
Comment 1 Martin Oberhuber CLA 2011-11-15 10:21:48 EST
This may actually work as designed... is your

  Preferences : Remote Systems : "Re-open Remote Systems view to previous state"

setting turned on ? If yes, you may consider turning it off.
Comment 2 Ralph P CLA 2011-11-15 10:55:43 EST
(In reply to comment #1)
> This may actually work as designed... is your
> 
>   Preferences : Remote Systems : "Re-open Remote Systems view to previous
> state"
> 
> setting turned on ? If yes, you may consider turning it off.

Turning this option off works but that's not what the user may want. Why must the table (Remote System Details) be refreshed before closing Eclipse?

Our users were wondering why the credential dialog came up when they were closing Eclipse. Canceling the dialog re-opens it (two times).
Comment 3 David McKnight CLA 2011-11-18 16:58:10 EST
Created attachment 207253 [details]
patch to check if connected when saving memento state
Comment 4 David McKnight CLA 2011-11-18 16:58:52 EST
Can you try with the attached patch?
Comment 5 Ralph P CLA 2011-11-24 07:36:51 EST
(In reply to comment #4)
> Can you try with the attached patch?

Thanks for the quick support! I tried the patch and it works just fine! This would solve our problem!
Comment 6 David McKnight CLA 2011-11-24 08:26:48 EST
You're welcome :)  I've committed the change to the HEAD stream.  Let me know if this needs to be  backported.