This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version: NetBeans IDE Dev (Build Kenai API - Hg fetch-23-on-090303) Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-b02 System: Linux version 2.6.27-12-generic running on i386; UTF-8; en_US (nb) 0. Start IDE with a fresh userdir 1. Open services view 2. Invoke "Add Hudson Instance" above "Hudson" node -> An error message is there, this is an error itself (this was discussed some time ago, user didn't do anything wrong yet and sill (s)he sees an error) 3. Type in some valid URL with Hudson instance ("an URL that is supposed to work") -> Finish button is still disabled 4. Leave the URL field by focusing the Name field -> Now the finish button is enabled -> Message "Provide a valid URL for Hudson 1.104 or higher" is (incorrectly) displayed 5. Focus URL and Name again -> Now everything works Expected behavior: No error is shown when the dialog is opened (use warning - the yellow one - instead). As long as the Name and URL are non-empty, Finish button is enabled. As user types, a validation for duplicate Name and URL is performed. Validation for valid Hudson instance is done after user clicks Finish button (then he/she is notified that URL is not correct), if the URL is not a valid Hudson URL, an error message is shown and dialog is not closed.
I'm not sure if validation after clicking the Finish button is possible. I will check, but a slightly different UI may be necessary.
*** Issue 158013 has been marked as a duplicate of this issue. ***
Jano asks that this be a dialog, not a wizard. "Add" should show a progress bar inside the dialog until it has finished checking, at which point it should close upon success, else show an error.
Shiny new UI. cdev #380a260bef11
Integrated into 'main-golden', will be available in build *200903170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/380a260bef11 User: Jesse Glick <jglick@netbeans.org> Log: #159535: rewrote New Hudson Instance dialog.
Looks very nice. Verified. Product Version: NetBeans IDE Dev (Build 200903251400) Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15 System: Linux version 2.6.27-14-generic running on i386; UTF-8; en_US (nb)