Hosts: "." in the name is invalid - user is told this but the UI adds one anyway.
|Assigned To:||Joseph Magen|
|Target version:||Sprint 24|
|Found in release:||Pull request:|
|Velocity based estimate||-|
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1087628
Description of problem:
When user begins creating a host, enters a string in the Name field, and submits, they are told "must not include periods and is invalid". It turns out the UI itself is adding this "."!
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Hosts > New Host
2. for Name, enter the value "abcdef"
3. Hit the submit button (yes, obv. there are other things that need to get filled out to create a host, but inconsequential for this test)
4. View results.
error message: "must not include periods and is invalid"
sure enough, a "." is added to the end of the string (it reads "abcdef."
No extraneous "."!
Occurs in Chrome and FF.
fixes #5834 - Hosts: . in the name is invalid - user is told this but the UI adds one anyway