Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352197 - Next button is not disabled when entering an invalid server hostname in the New Server wizard
Summary: Next button is not disabled when entering an invalid server hostname in the ...
Status: RESOLVED FIXED
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: wst.server (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.2.5   Edit
Assignee: Elson Yuen CLA
QA Contact: Angel Vera CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-15 06:48 EDT by Vladislav Iliev CLA
Modified: 2017-10-11 16:36 EDT (History)
3 users (show)

See Also:


Attachments
patch proposal (997 bytes, patch)
2011-07-25 07:24 EDT, Petya Sabeva CLA
eyuen7: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladislav Iliev CLA 2011-07-15 06:48:19 EDT
Build Identifier: 20110527214303

Hi,
I'm trying to fix the following bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=349717. 
Once the fix is applied, another issue arose. With the fix, validation messages does not get removed, which is OK, but the "Next" button is not disabled as expected (afaik, if on a composite form an error validation message appear, the this immediately disables the Next button).

Also this behavior is not a result of the fix provided in the issue above, but exist even in the current situation by following the steps in bug above.





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.

Expected result: Next button must be disabled.
Actual result: Next button is enabled.


Note: In this scenario another issue also appear, that says validation message disappear. Check https://bugs.eclipse.org/bugs/show_bug.cgi?id=349717.
Comment 1 Petya Sabeva CLA 2011-07-25 07:24:45 EDT
Created attachment 200268 [details]
patch proposal
Comment 2 Elson Yuen CLA 2011-07-26 11:26:30 EDT
Changes looks good
Comment 3 Elson Yuen CLA 2011-07-26 17:29:06 EDT
Code released to 32M, 33M and HEAD
Comment 4 Eclipse Genie CLA 2017-10-11 16:36:50 EDT
New Gerrit change created: https://git.eclipse.org/r/109056