Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mpc-dev] Neon.2 behavior change for Nodes

Folks,

An adopter wrote some code that extends the Eclipse Marketplace Client. It has been creating Nodes by using org.eclipse.epp.mpc.core.service.QueryHelper.nodeByURL() As of https://bugs.eclipse.org/bugs/show_bug.cgi?id=507556 , the DefaultMarketplaceService now goes through a list of Nodes and throws a CoreException if a Node does not have an id set- see line 323 of DefaultMarketplaceService. I will open a bug once I know- are only Nodes with the id explicitly set supported? (In which case QueryHelper should be updated to parse the URL and update the id.) Or should Nodes with only a valid URL be supported? (In which case DefaultMarketplaceService.getNodes() should be updated.)
Note: The adopter creates two different formats of URLs:
http://marketplace.eclipse.org/node/[nodeid]
http://marketplace.eclipse.org/content/[title]
The second URL does not include the node id, which begs the question- is that format no longer supported? Or will the MPC also be changed to handle the content format as well as the node format?

FWIW,

- Carl Anderson
WTP PMC Lead


Back to the top