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

Bug 341719

Summary: [remoteserviceadmin] EndpointDescriptionParser only reads first endpoint-description element
Product: [RT] ECF Reporter: Ajay <ajay.upadhyaya>
Component: ecf.remoteservicesAssignee: Scott Lewis <slewis>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ajay.upadhyaya, bugs.eclipse.org, slewis
Version: 3.5.0   
Target Milestone: 3.5.1   
Hardware: PC   
OS: Windows XP   
URL: http://www.eclipse.org/forums/index.php?t=msg&th=207025
Whiteboard:

Description Ajay CLA 2011-04-03 12:10:16 EDT
Build Identifier: 1.0.0.v20110313-1843

After parsing an edef file with multiple endpoint-description elements, the endpointDescriptions field in EndpointDescriptionParser is populated with a List of 1 EndpointDescription object.  See EndpointDescriptionParser#parse

The logic in EndpointDescriptionHander#startElement may be at fault.

See post: http://www.eclipse.org/forums/index.php?t=msg&th=207025

Reproducible: Always
Comment 1 Scott Lewis CLA 2011-04-03 12:25:28 EDT
(In reply to comment #0)
> Build Identifier: 1.0.0.v20110313-1843
> 
> After parsing an edef file with multiple endpoint-description elements, the
> endpointDescriptions field in EndpointDescriptionParser is populated with a
> List of 1 EndpointDescription object.  See EndpointDescriptionParser#parse
> 
> The logic in EndpointDescriptionHander#startElement may be at fault.
> 
> See post: http://www.eclipse.org/forums/index.php?t=msg&th=207025
> 
> Reproducible: Always

Would you be able to attach the edef file (with multiple endpoint descriptions) that shows the problem?

Thanksinadvance,

Scott
Comment 2 Scott Lewis CLA 2011-04-03 19:43:01 EDT
Assigning to self.  Fix pending.
Comment 3 Scott Lewis CLA 2011-04-03 19:57:07 EDT
Fix released to master.  It was a bug in the EndpointDescriptionParser.  Here's the diff, fwiw:

http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/commit/?id=9fc49779d5a422c1abeaf586b2f8d862dafe018f

We have to decide whether to do a 3.5.1 maintenance release...and when exactly to do such a maintenance release...if we do one in the next few weeks.  If you have any specific thoughts/needs about when a maintenance release is done, please convey them to ecf-dev at eclipse.org mailing list.  See here to subscribe https://dev.eclipse.org/mailman/listinfo/ecf-dev

In the mean time, you should be able to get a new build with this fix from here:

https://build.ecf-project.org/jenkins/job/C-HEAD-sdk.feature/
Comment 4 Scott Lewis CLA 2011-04-03 20:24:17 EDT
adding remoteserviceadmin tag to subject line for recordkeeping
Comment 5 Markus Kuppe CLA 2011-04-13 23:45:43 EDT
Would this be a candidate for ECF 3.5.1? Currently marked as 3.6.0.