Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327954 - [remoteservices][generic] remote service ranking value always set to 0
Summary: [remoteservices][generic] remote service ranking value always set to 0
Status: RESOLVED FIXED
Alias: None
Product: ECF
Classification: RT
Component: ecf.remoteservices (show other bugs)
Version: 3.4.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4.0   Edit
Assignee: Scott Lewis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-15 16:06 EDT by Scott Lewis CLA
Modified: 2010-10-15 18:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Lewis CLA 2010-10-15 16:06:10 EDT
In org.eclipse.ecf.provider.remoteservice.generic.RemoteServiceRegistrationImpl.createProperties the check for an explicit remote service ranking refers to the Properties being created rather than the props Dictionary passed in.  This should be fixed to get the service ranking (if set explicitly in props Dictionary).
Comment 1 Scott Lewis CLA 2010-10-15 16:08:49 EDT
Fix released to master
Comment 2 Scott Lewis CLA 2010-10-15 18:52:24 EDT
Have to handle null case properly...the fix introduced gives NPE with props==null