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

Bug 326833

Summary: [RemoteService][Discovery] ServicePublicationHandler overwrites host name even if URI sets it explicitly
Product: [RT] ECF Reporter: Markus Kuppe <bugs.eclipse.org>
Component: ecf.remoteservicesAssignee: Markus Kuppe <bugs.eclipse.org>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3.0   
Target Milestone: 3.4.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Markus Kuppe CLA 2010-10-02 05:16:25 EDT
org.eclipse.ecf.internal.osgi.services.discovery.ServicePublicationHandler.createURI(ID, String) in all cases sets "host" to InetAddress.getLocalHost().getHostAddress() even if the endpointContainerID (ID) explicitly sets the hosts as part of the URI.
Comment 1 Markus Kuppe CLA 2010-10-02 05:57:07 EDT
Fix released to HEAD
Also adds a new infolog stmt in case it falls back to "localhost".
Comment 2 Markus Kuppe CLA 2010-10-02 05:57:10 EDT
Created attachment 180099 [details]
mylyn/context/zip