Hide Forgot
Description of problem: When you add a capital letter to the name template Next is grayed out but no error is printed. Version-Release number of selected component (if applicable): QCI-1.0-RHEL-7-20160902.5 How reproducible: always Steps to Reproduce: 1. Do a RHV deployment 2. Use the custom name scheme for the hosts, but try to add a capital letter to the name template. Actual results: Next is grayed out. Expected results: Either it print an error in red, or it allow the capital letter.
I was wrong it is printing an error but the error is not in red text so it was not apparent to me.
OK, no it doesn't print an error at all with the custom naming scheme, but it does print a non red error when you try to do a freeform name on an individual host.
Also, when you do enter a truly invalid char like a comma in the template it will give you an error that says: This field must contain only 'A-Z', 'a-z', '0-9', '_' or '-' characters. Note it says A-Z is OK, when probably it shouldn't
It also says _, and - are OK but the Next button gets grayed out when you use them in the name template.
Additionally, if one tries to enter a name longer than 43 characters the Next is grayed out with no error.
https://github.com/fusor/fusor/pull/1226 Modified custom naming scheme entry: - Disallow capital letters and underscores. - Limit to 40 characters. - Allow - and . after the first character. - Changed message to "Custom prefixes must begin with "a-z" or "0-9" and contain only "a-z", "0-9", "." or "-" characters."
Verified on QCI-1.1-RHEL-7-20161004.t.0.
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/RHEA-2017:0335