| Summary: | Modify the error messages for multicast port validation to be more specific | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Petr Kremensky <pkremens> |
| Component: | Installer | Assignee: | Francisco Canas <fcanas> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Kremensky <pkremens> |
| Severity: | low | Docs Contact: | Russell Dickenson <rdickens> |
| Priority: | unspecified | ||
| Version: | 6.3.0 | CC: | fcanas, thauser |
| Target Milestone: | ER4 | ||
| Target Release: | EAP 6.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-28 15:38:53 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: | |
|
Description
Petr Kremensky
2013-11-26 13:12:32 UTC
Fixed the error messages. Multicast port validator displays the expected error now, with the port name shown. http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2&id=b1ddfe5233866882531fd6a5a7d82b44dfa02528 This is fixed in EAP 6.3.0.ER1. Please move all relevant BZs to ON_QA so I can verify them. I see one problem here. Going through example from description, installer uses same message for port number overlap, and for empty input. Actual: Enter 77777 into jgroups-mping-Multicast-Port message - Please enter a port number for jgroups-mping multicast-port. Enter "" into jgroups-mping-Multicast-Port message - Please enter a port number for jgroups-mping multicast-port. Expected: Enter 77777 into jgroups-mping-Multicast-Port message - Port number for jgroups-mping multicast-port must be an integer within the range 1-65535.. Enter "" into jgroups-mping-Multicast-Port message - Please enter a port number for jgroups-mping multicast-port. and so on with other fields from description I've corrected the validator messages for the ports in the BZ description. http://git.app.eng.bos.redhat.com/git/eap-installer.git/commit/?id=fde0eee5bcfb06e5c3e786ea43db8d5964958703 The problesm from comment 3 are now fixed, but original issue from description still last. All messages are now correct if user enters empty value into any of field in Socket screen. These are my results for port overlap & invalid IP format messages: --- standalone-full --- - wrong label in Error dialog message for: messaging-group Multicast-Port - EXPECTED: "Port number for messaging-group multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." --- standalone-ha --- - wrong label in Error dialog message for: jgroups-mping Multicast-Port - EXPECTED: "Port number for jgroups-mping multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." - wrong label in Error dialog message for: jgroups-udp Multicast-Port - EXPECTED: "Port number for jgroups-udp multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." - wrong label in Error dialog message for: modcluster Multicast-Port - EXPECTED: "Port number for modcluster multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." --- standalone-full-ha --- - wrong label in Error dialog message for: jgroups-mping Multicast-Port - EXPECTED: "Port number for jgroups-mping multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." - wrong label in Error dialog message for: jgroups-udp Multicast-Port - EXPECTED: "Port number for jgroups-udp multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." - wrong label in Error dialog message for: modcluster Multicast-Port - EXPECTED: "Port number for modcluster multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." - wrong label in Error dialog message for: messaging-group Multicast-Port - EXPECTED: "Port number for messaging-group multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." --- domain-full --- - wrong label in Error dialog message for: messaging-group Multicast-Port - EXPECTED: "Port number for messaging-group multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." --- domain-ha --- - wrong label in Error dialog message for: jgroups-mping Multicast-Port - EXPECTED: "Port number for jgroups-mping multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." - wrong label in Error dialog message for: jgroups-udp Multicast-Address - EXPECTED: "Address is not IPv4 / IPv6 compliant. Please check the address for jgroups-udp." - ACTUAL : "Address is not IPv4 / IPv6 compliant. Please check the address for multicast." - wrong label in Error dialog message for: jgroups-udp Multicast-Port - EXPECTED: "Port number for jgroups-udp multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." - wrong label in Error dialog message for: modcluster Multicast-Port - EXPECTED: "Port number for modcluster multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." --- domain-full-ha --- - wrong label in Error dialog message for: jgroups-mping Multicast-Port - EXPECTED: "Port number for jgroups-mping multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." - wrong label in Error dialog message for: jgroups-udp Multicast-Address - EXPECTED: "Address is not IPv4 / IPv6 compliant. Please check the address for jgroups-udp." - ACTUAL : "Address is not IPv4 / IPv6 compliant. Please check the address for multicast." - wrong label in Error dialog message for: jgroups-udp Multicast-Port - EXPECTED: "Port number for jgroups-udp multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." - wrong label in Error dialog message for: messaging-group Multicast-Port - EXPECTED: "Port number for messaging-group multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." - wrong label in Error dialog message for: modcluster Multicast-Port - EXPECTED: "Port number for modcluster multicast-port must be an integer within the range 1-65535." - ACTUAL : "Port number for multicast-port must be an integer within the range 1-65535." Sorry about that, Petr. To correctly fix the message I had to modify Izpack's userInputPanel. See commits: http://git.app.eng.bos.redhat.com/git/izpack.git/commit/?id=633f9d434ca2361627507b8cc6ca81684e24944e and http://git.app.eng.bos.redhat.com/git/eap-installer.git/commit/?id=75bd360c3199b4d38ec57e78722a904a536358ba Multicast-ports should now display both messages correctly, for invalid ranges and for a blank field. No problem, I'll retest with next ER build. There is one more message that should be fixed. The rest of issues is fixed now. Use some invalid IP address for jgroups-udp Multicast-Address on: - Socket Binding (ha-domain) - Socket Binding (full-ha-domain) - EXPECTED: "Address is not IPv4 / IPv6 compliant. Please check the address for jgroups-udp." - ACTUAL : "Address is not IPv4 / IPv6 compliant. Please check the address for multicast." Fixed the message id's for both of the above ports: http://git.app.eng.bos.redhat.com/git/eap-installer.git/commit/?id=72eed45e851a373060db8c257830732efa012a1e Verified on EAP 6.3.0.ER4 installer. |