Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326833 - [RemoteService][Discovery] ServicePublicationHandler overwrites host name even if URI sets it explicitly
Summary: [RemoteService][Discovery] ServicePublicationHandler overwrites host name eve...
Status: RESOLVED FIXED
Alias: None
Product: ECF
Classification: RT
Component: ecf.remoteservices (show other bugs)
Version: 3.3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.4.0   Edit
Assignee: Markus Kuppe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-02 05:16 EDT by Markus Kuppe CLA
Modified: 2010-10-02 05:57 EDT (History)
0 users

See Also:


Attachments
mylyn/context/zip (1.25 KB, application/octet-stream)
2010-10-02 05:57 EDT, Markus Kuppe CLA
no flags Details

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