Descriptive error message should be shown when pki_clone_replication_clone_port is invalid instead of throwing a java exception with Internal Server error
Steps to Reproduce:
1. Clone a CA where the inf has an invalid (non-existing) value for pki_clone_replication_clone_port
Actual results:
pkispawn : ERROR ....... Exception from Java Configuration Servlet: 500 Server Error: Internal Server Error pkispawn : ERROR ....... ParseError: not well-formed (invalid token): line 1, column 0: {"Attributes":{"Attribute":[]},"ClassName":"com.netscape.cert srv.base.PKIException","Code":500,"Message":"Error in populating database: java.io.IOException: Failed to setup the replication for cloning."}
Expected results:
Descriptive error message stating the port is invalid or not reachable
This bug has been marked as a duplicate of https://fedorahosted.org/pki/ticket/1453 - PKI TRAC Ticket #1453 - pkispawn of Clone CA is successful when pki_clone_replication_master_port has a wrong port number.
Metadata Update from @rpattath: - Issue set to the milestone: 10.3.0
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/2012
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.