Description of problem: Version-Release number of selected component (if applicable): cluster version: 4.0.0-0.nightly-2019-03-13-233958 console commit: ddab4c4d3863f4472819b208493fae871968e641 How reproducible: Always Steps to Reproduce: 1. user create application from image following these steps Catalog -> Developer Catalog -> php -> fill required fields and set Name as invalid inputs, such as R#%@TWTYGY -> hit Create Actual results: 1. Long and duplicate error message shown on page: Error "Invalid value: "r#%@twtygy": may not contain '%'" for field "metadata.name".; Error "Invalid value: "r#%@twtygy": a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name', or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?')" for field "metadata.name".; Error "Invalid value: "r#%@twtygy": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')" for field "metadata.name".; Error "Invalid value: "r#%@twtygy": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')" for field "metadata.name".; Error "Invalid value: "r#%@twtygy": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')" for field "metadata.name". Expected results: 1. Clear error message should be shown and only once Additional info:
Updating to dev console since the code has moved. It looks like this might have been fixed indirectly since it was opened.
No longer reproducible as the forms have changed and include name validation that prevents the creation of the resource.
Created attachment 1638956 [details] name validation error
Verified on: https://openshift-release.svc.ci.openshift.org/releasestream/4.3.0-0.ci/release/4.3.0-0.ci-2019-11-22-122829 Firefox: 68.2.0esr As noted previously, the name now has validation client side. See attached screenshot.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0062