Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351486

Summary: getConnection(URI uri) in RSEConnectionManager doesn't work well
Product: [Tools] PTP Reporter: John Liu <jwsliu>
Component: CoreAssignee: Project Inbox <ptp-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: g.watson
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description John Liu CLA 2011-07-07 15:30:52 EDT
The function of "public IRemoteConnection getConnection(URI uri)"  in the class of RSEConnectionManager doesn't work well when the name of rse connection is different from the name of the host.

The function uses the host name gotten from the given uri to query the connection list, this only works when the connection name is the same with the host name. 

I am not sure what ptp component the class RSEConnectionManager is in, so I just file the bug against the core.
Comment 1 Greg Watson CLA 2011-07-08 09:29:23 EDT
You need to use a URI of the form "rse://host_name/path?connection_name". 

See bug 287185 for more information. Note that their final implementation seems to be a query that just contains the connection name, not "alias=connection_name".
Comment 2 Greg Watson CLA 2011-09-14 10:08:02 EDT
This would require a change to RSE.