| Summary: | AbstractRemoteServerRunner.launchServer picks wrong payload | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Roland Schulz <roland> |
| Component: | Remote Tools | Assignee: | Greg Watson <g.watson> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | g.watson |
| Version: | 4.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Roland Schulz
RemoteServerManager#getServer searches for the extension point with the correct ID of the server. If one is found, the bundle ID of the declaring bundle is retrieved along with the command and payload. AbstractRemoteServerRunner#launchServer then uses the bundle ID to locate the payload. However, it looks like it should be using getContributor().getName() instead of getDeclaringExtension().getNamespaceIdentifier() so this may have caused the problem. The javadoc for IConfigurationExtension#getNamespace seems to imply that the wrong ID could be returned (for our purposes), although it's not exactly clear what these circumstances might be. Fixed in HEAD. |