Bug 1015248 - -console installer does not exit when user selects to exit after port in use warning.
Summary: -console installer does not exit when user selects to exit after port in use ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Installer
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER5
: EAP 6.2.0
Assignee: Francisco Canas
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-03 17:56 UTC by Francisco Canas
Modified: 2014-09-03 04:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:21:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1013956 0 unspecified CLOSED Installer: Validation error is hidden by EULA ( -console ) 2021-02-22 00:41:40 UTC

Internal Links: 1013956

Description Francisco Canas 2013-10-03 17:56:00 UTC
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):
ER3

How reproducible:
Every time.

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.

Actual results:
Installer continues on to target path selection.

Expected results:
Installer should exit since user chose not to continue.

Additional info:
This will likely need an izpack fix.

Comment 1 Petr Kremensky 2013-10-04 14:30:57 UTC
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.

Comment 2 Francisco Canas 2013-10-07 17:56:19 UTC
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.

Izpack fix:
http://git.app.eng.bos.redhat.com/izpack.git/commit/?h=izpack-wip&id=68e3ac655c3bfa51a7c9387ad24fa36bf8214750

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?"

http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2&id=3689967fcbe6c68767a7c393c3ccdfc86370b73d

Comment 3 Petr Kremensky 2013-10-08 09:39:00 UTC
Verified on EAP 6.2.0.ER5 installer.


Note You need to log in before you can comment on or make changes to this bug.