After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 663374 - Contacts-Email id accepts improper formats
Contacts-Email id accepts improper formats
Status: RESOLVED DUPLICATE of bug 513438
Product: evolution
Classification: Applications
Component: Contacts
unspecified
Other Linux
: Normal minor
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-11-04 06:24 UTC by Srinivasa Ragavan
Modified: 2011-11-04 16:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Srinivasa Ragavan 2011-11-04 06:24:39 UTC
1. Open Evolution
2.    Click on “New->Contact”
3.    Enter details in the Email id field


EXPECTED OUTCOME: Email id field should check for validation (@ and
.com/.org/.in etc.  eg: someone@example.com  )

ACTUAL OUTCOME: Email id field accepts doesn’t check for validation (@ and
.com/.org/.in etc. eg: someone@example.com  )

USER IMPACT: Unable to make out email id entered
Comment 1 Akhil Laddha 2011-11-04 06:59:06 UTC
duplicate of bug 513438
Comment 2 André Klapper 2011-11-04 15:41:53 UTC
As written in bug 513438, even "foo@localhost" is a valid address, without a dot in there. I don't see any reason for overengineering by implementing this.

*** This bug has been marked as a duplicate of bug 513438 ***
Comment 3 Matthew Barnes 2011-11-04 15:53:21 UTC
A standalone EMailAddressEntry widget would be useful, even if it just checks for a '@' character and sets a boolean "valid" property.  We could reuse it in the account editor and other places, and have one place to tweak the "what's a valid address" policy.
Comment 4 André Klapper 2011-11-04 16:40:05 UTC
See guenther's comment in bug 513438 comment 17:
"Btw, user@localhost (hint, no dot) is a bloody valid email address. As can even
be the plain 'user', without any host part."
Comment 5 Matthew Barnes 2011-11-04 16:57:29 UTC
Fine, but the point is email addresses do have a grammar to them and it would be useful to have a reusable text entry widget that validates the text against the grammar.  Probably best just hand it to Camel and let it decide.