Community
Participate
Working Groups
Build Identifier: 3.6.2 M20110210-1200 In org.eclipse.wst.server.ui.internal.wizard.page.NewManualServerComposite.handleHostnameChange(IServerType), both methods checkHostAndServerType and updateRuntimeCombo are cleaning up the wizard validation messages before validation. Currently, the validation messages in checkHostAndServerType are being removed. Reproducible: Always Steps to Reproduce: 1. File > New > Other... > Server 2. Enter a remote server host name (for example "localhost2") 3. Click on Apache > Tomcat v6.0 server from the type list 4. The validation message "The currently selected server type does not support remote hosts" appears in the wizard page 5. If I type remote host name into the server host name, the validation message incorrectly disappears, and only returns when I click on another server type and click back to the server Expected result: the validation message should not be removed
Created attachment 199737 [details] Path proposed Path proposed. Now the previously set error validation message is not cleared.
The patch looks good in general. The only minor change that I'll made to the patch is to return false if IServerType is false on the method org.eclipse.wst.server.ui.internal.wizard.page.NewManualServerComposite.checkHostAndServerType(IServerType).
Created attachment 200383 [details] v1.0 Based on the original patch, I have updated with a newer version with the change described on my previous comment.
Code dropped to 32M, 33M and HEAD
New Gerrit change created: https://git.eclipse.org/r/109055