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.

Bug 116376 - Improve error notification on add server instance wizard page
Summary: Improve error notification on add server instance wizard page
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-21 21:03 UTC by Rochelle Raccah
Modified: 2009-12-10 12:56 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rochelle Raccah 2007-09-21 21:03:26 UTC
I pointed at an old installation of an 8.x server, then tried to create a personal domain, but could not remember the
username/password for this server (it's an old install), so I guessed.  At the end, I get a dialog that says "Domain
Creation Failure".
Review the Domain Creation Results
Delete the invalid registered domain .... 

Upon investigation, it seems I did not have proper permissions to the server, but I was confused at this point in the
wizard.  Vince asked me to check the creation results in the output window.

My comments:
I didn't notice the results in the output window, even though it was in red - it was behind the add server wizard.  Here
is the output:

Please, wait while the domain is being created...
/aerial1/old_opt/AS8_1/bin/asadmin: /opt/AS8_1/config/asenv.conf: not found

And a further email discussion with the team:
>> - What am I supposed to delete?  I don't see the newly added server.  I don't see anything in the directory I picked
for the domain.
>> - Why am I thrown out of the wizard?  I have to start again and it's quite annoying....
>
> You weren't thrown out of the wizard... you had clicked Finish.  Do you know of a way to prevent Finish from completing?

I think there is a way to keep a wizard open after finish (after some validation) or reopen with the current context if
necessary.  I can look for info on it if we decide that is the right way to proceed.  But, given my error (asenv.conf
not found), there was probably nothing I could have done within the wizard.... but I have to admit the error dialog
doesn't help me figure out what's wrong.
=============
So - suggestions:
- Report more in the wizard/alert dialogs, not just the output window
- *Is* there a way for me to have fixed this error from the wizard?  Make it clearer to the user how to correct the error.
- If the error is something that can be corrected, don't close the wizard.  Instead, allow the user to correct it so the
other data entered in the wizard is not lost and entered on multiple wizard invocations.
Comment 1 Vince Kraemer 2008-10-18 03:50:55 UTC
this isn't likely to get fixed in the v2 plugin.  need to avoid this case in the v3 plugin.
Comment 2 Vince Kraemer 2009-12-10 12:56:44 UTC
no issue should be assigned to issues. redistributing the load