Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 228462 - Two error messages in RemoteLaunchDelegate.getValidatedRemoteDirectory() are exchanged
Summary: Two error messages in RemoteLaunchDelegate.getValidatedRemoteDirectory() are ...
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Remote Tools (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Daniel Felix Ferber CLA
QA Contact: Greg Watson CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-23 13:16 EDT by Daniel Felix Ferber CLA
Modified: 2011-01-31 08:13 EST (History)
0 users

See Also:


Attachments
A patch that fixes the bug. (2.16 KB, patch)
2008-04-23 13:21 EDT, Daniel Felix Ferber CLA
g.watson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Felix Ferber CLA 2008-04-23 13:16:31 EDT
Build ID: M20080221-1800

Steps To Reproduce:
After installing Remote Tools plugin.

1) Open Run Dialog, create a launcher that is implemented on the Remote Tools launcher. Open the "Target" tab, disable "Use default" and leave "Remote directory" empty. The tab will show the error message "The default value for remote working directory is missing in the preferences for Remote Tools Application Launcher". The correct message should be "The value for remote working directory is missing".

2) Close the dialog and open the Remote Tools launcher preferences page. Clear the field "Remote working directory". Open the Run Dialog, open the "Target" tab and re-enable "Use default". The dialog will show the error message "The value for remote working directory is missing" instead of "The default value for remote working directory is missing in the preferences for Remote Tools Application Launcher."

More information:
The cause is simple: the messages are exchanged the in the messages.properties file.
Comment 1 Daniel Felix Ferber CLA 2008-04-23 13:21:09 EDT
Created attachment 97267 [details]
A patch that fixes the bug.

The patch exchanges the two error messages in the messages.properties file.
Comment 2 Greg Watson CLA 2008-04-24 09:07:51 EDT
Applied.
Comment 3 Daniel Felix Ferber CLA 2008-05-05 15:57:12 EDT
The bug is fixed.