Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351486 - getConnection(URI uri) in RSEConnectionManager doesn't work well
Summary: getConnection(URI uri) in RSEConnectionManager doesn't work well
Status: RESOLVED WONTFIX
Alias: None
Product: PTP
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-07 15:30 EDT by John Liu CLA
Modified: 2011-09-14 10:08 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.