Red Hat Bugzilla – Bug 681621
Default email address provided for rhqadmin user fails email validation
Last modified: 2013-08-05 20:38:51 EDT
Description of problem:
The email address we provide for the rhqadmin user is 'rhqadmin@localhost'. This does not parse properly per the email address validator. Thus, when trying to edit any properties (i.e., password) for that this user, one is unable to save the changes until something new is put in
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Login as rhqadmin or another user with admin rights.
2. Administration > Users > rhqadmin
3. Attempt to edit various fields.
As soon as page loads, the email address is flagged as invalid. User is then unable to save any changes until that field is change.
We should probably make the default email address for the rhqadmin user something that can be at least correctly parsed as a valid email address, i.e., 'firstname.lastname@example.org'
I don't know how often customers actually change this email address or leave it as default. However, they most likely probably change the rhqadmin user password right off the bat. Thus, this is reasonably high visibility.
Fixed by making the validation regexp accept email addresses with non-qualified hostnames, such as root@localhost - [master 4c250b2].
Bookkeeping - closing bug - fixed in recent release.