Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352197

Summary: Next button is not disabled when entering an invalid server hostname in the New Server wizard
Product: [WebTools] WTP ServerTools Reporter: Vladislav Iliev <vladislav.iliev>
Component: wst.serverAssignee: Elson Yuen <eyuen7>
Status: RESOLVED FIXED QA Contact: Angel Vera <arvera>
Severity: normal    
Priority: P3 CC: bistra.yakimova, dimitar.giormov, eyuen7
Version: unspecified   
Target Milestone: 3.2.5   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/109056
Whiteboard:
Attachments:
Description Flags
patch proposal eyuen7: iplog+

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