Bug 681626

Summary: User properties seem to parse IP-notated email addresses incorrectly.
Product: [Other] RHQ Project Reporter: Corey Welton <cwelton>
Component: Core UIAssignee: Ian Springer <ian.springer>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 4.0.0.B02CC: ccrouch, ian.springer
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-24 01:11:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 585306, 677420    

Description Corey Welton 2011-03-02 18:57:54 UTC
Description of problem:
I'm not sure exactly what the problem is here, but I think attempting to use a standard dot-notated server IP address as an email address fails if one of the quartets is a single digit.  hacking it with additional zeroes seems to be a work around. 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.  Login as rhqadmin or another user with admin rights.
2.  Administration > Users > rhqadmin
3.  Attempt to edit the email address field, using the string "rhqadmin.0.1"
4. Noting the result above, attempt to edit the email address field, using the string "rhqadmin.0.01"

  
Actual results:
The first result fails.  The second works but is sub-optimal.  It appears that any single digit integer used (excepting zero) fails w/o padding the quartet with extra zeroes.

Expected results:
Valid IP notation can be used as part of an email address.

Additional info:

Comment 1 Ian Springer 2011-03-09 21:30:47 UTC
This should be fixed by the new email-address validation regexp introduced by [master 4c250b2].

Comment 2 Corey Welton 2011-03-10 13:48:09 UTC
Verified

Comment 3 Corey Welton 2011-05-24 01:11:32 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 4 Corey Welton 2011-05-24 01:11:32 UTC
Bookkeeping - closing bug - fixed in recent release.