| Summary: | Incorrect SSH Settings Summary string. The 'port' value is modified, not appended. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Target Management | Reporter: | Dan Bourque <Dan.Bourque> | ||||
| Component: | Terminal | Assignee: | dsdp.tm.core-inbox <tm.core-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | eclipse, uwe.st | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 4.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Dan Bourque
Created attachment 198507 [details]
Patch
calls getPortString() instead of getPort() could fix the problem.
Fixed with TM Terminal 4.0 Looking at the description of the issue in comment 0, and at line 39 here: http://git.eclipse.org/c/tm/org.eclipse.tm.terminal.git/tree/plugins/org.eclipse.tm.terminal.connector.ssh/src/org/eclipse/tm/terminal/connector/ssh/connector/SshSettings.java I think that the issue is _not_ fixed yet. It might be an implementation detail of the JVM being used how the expression is actually evaluated. Well, for the sake of consistency I've changed that single line. See the latest version of SshSettings.java. Nonetheless, the issue WAS FIXED without that change. The connector getSettingSummary() method is NOT USED to make the terminal title anymore. Therefore, the terminal title is correct even without that change. The settings summary string is internal only now. In fact, the getSettingsSummary()/getSummary() API is obsolete and it would be much better if the settings would implement proper equals() methods, because the getSettingsSummary()/getSummary() API is used only to compare two sets of settings. |