Bug 1012333

Summary: Wrong error message during socket range validation
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: InstallerAssignee: Francisco Canas <fcanas>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: low Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: fcanas, thauser
Target Milestone: ER5   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:14:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Kremensky 2013-09-26 09:56:23 UTC
Description of problem:
 Found that error dialogues thrown by installer during port range validation contains wrong name of field. 
 
Version-Release number of selected component (if applicable):
 6.2.0.ER3

How reproducible:
 Always

Steps to Reproduce:
 1. Go to Socket Bindings screen, choose to configure custom port bindings, choose to configure ports for domain mode.
 2. Go to Socket Bindings (full-domain) screen.
 3. Enter 99999 as ajp Port Number

Actual results:
 Error message contains message: "Port numbert for txt-status-manager must be an integer within the range 1-65535."

Expected results:
 Error message contains message: "Port numbert for ajp must be an integer within the range 1-65535."

Additional info:
 On the same screen enter 99999 as txt-status-manager port number. Error message will be related to ajp.
 I didn't try all input fields on all socket binding screens so there may be more of this.

Comment 1 Francisco Canas 2013-10-03 14:34:41 UTC
I have double-checked the port names and their associated strings and corrected the ones that were incorrect including the ajp port as noted above.

Comment 2 Petr Kremensky 2013-10-07 12:10:07 UTC
I was able to find one more. The rest should be ok.
--- Socket Binding (ha-standalone)
management-native Port number shows txn-status-manager

Comment 3 Francisco Canas 2013-10-07 13:46:09 UTC
Thank you for noticing that! I've corrected the message for this port.

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

Comment 4 Petr Kremensky 2013-10-08 08:47:28 UTC
Verified on EAP 6.2.0.ER5 installer.