Bug 681626 - User properties seem to parse IP-notated email addresses incorrectly.
Summary: User properties seem to parse IP-notated email addresses incorrectly.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.0.0.B02
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: Ian Springer
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks: rhq4 gwt-admin-usersroles
TreeView+ depends on / blocked
 
Reported: 2011-03-02 18:57 UTC by Corey Welton
Modified: 2013-08-06 00:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-24 01:11:32 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.