Red Hat Bugzilla – Bug 1015248
-console installer does not exit when user selects to exit after port in use warning.
Last modified: 2014-09-03 00:57:17 EDT
Description of problem:
-console installer continues even after user selects to exit when given a 'port already in use' warning.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Start the -console installer when the default 9999 port is already in use.
2.When given the 'port already in use' warning, select 'no' to exit.
Installer continues on to target path selection.
Installer should exit since user chose not to continue.
This will likely need an izpack fix.
This is same with gui installer. Wouldn't it make more sense to quit installer once user select Cancel on warning dialogue (however I understand that correct workflow is to stay on current screen once user select cancel on warning).
I would also suggest changing the message as the port may not be required during installation (If user don't want to start server during installation and do some post-install actions). That's why this is just warning.
I have fixed the logic in izpack's console panels so the result is more consistent with the GUI installer workflow: If the user chooses not to continue on a warning, installer stays on current panel rather than quitting altogether.
I also edited the message that appears when the port is already in use to:
"The port 9999 is already in use, but may be required to be open for this installation. Do you wish to continue?"
Verified on EAP 6.2.0.ER5 installer.