can't add user with .engineering email address
can't add user with .engineering email address
I have a customer with an email address like joe@blahblah.engineering. ".engineering" is one of the newer domains (not all that new actually). There are lots of these new alternates to .com/.net/org. Anyway, I get this error message when I try to add him manually:
Email address should be in the format of name@domain.tld.
Mike
Email address should be in the format of name@domain.tld.
Mike
Re: can't add user with .engineering email address
The email addresses are validation using the CommerceBuilder.UI.WebControls.EmailAddressValidator, it allows 2-6 characters in this part of domain. You will require to either update the Regex defined in the CommerceBuilder.Utility.ValidationHelper.cs class or use some custom email validator in aspx page instead using the CommerceBuilder.UI.WebControls.EmailAddressValidator.
As an alternate you can use the asp RegularExpressionValidator to validate emails, please check the following links for details about how to use the RegularExpressionValidator :
http://www.java2s.com/Code/ASP/Validati ... dressC.htm
http://stackoverflow.com/questions/2652 ... validation
As an alternate you can use the asp RegularExpressionValidator to validate emails, please check the following links for details about how to use the RegularExpressionValidator :
http://www.java2s.com/Code/ASP/Validati ... dressC.htm
http://stackoverflow.com/questions/2652 ... validation
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Re: can't add user with .engineering email address
Thanks and that's fine when one has the CommerceBuilder source - I don't.
In my opinion this should be fixed in the next release, don't you think? There are more and more of these TLDs, some very long. Anyone with a valid email address should be able to purchase, otherwise it's TLD-discrimination!
FYI: here is a list of what's currently available:
http://www.iana.org/domains/root/db
In my opinion this should be fixed in the next release, don't you think? There are more and more of these TLDs, some very long. Anyone with a valid email address should be able to purchase, otherwise it's TLD-discrimination!
FYI: here is a list of what's currently available:
http://www.iana.org/domains/root/db
Re: can't add user with .engineering email address
Hi, I just reported this in our logs and we will look into it. There seems to be lot of new TLDs so yes maybe we should improve the regular expression. In couple of tests that I performed it seems like expression complain when domain extension is lengthy. For example it worked for TLDs like .online, .studio but complained for .photography. If I remove couple of characters and then try .photog then it works, I think expression is looking up to certain maximum length when validating Email addresses.n my opinion this should be fixed in the next release, don't you think?
Re: can't add user with .engineering email address
Thanks Mazhar. Any chance at a hotfix or a date when the next update will occur?
Mike
Mike
Re: can't add user with .engineering email address
Hello Mike,
We are planning on an upcoming service release. I'm not sure when it will be though. What version are you using?
Thanks
Katie
We are planning on an upcoming service release. I'm not sure when it will be though. What version are you using?
Thanks
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: can't add user with .engineering email address
I'm on the latest release - R12
Re: can't add user with .engineering email address
Do you need a hot patch now, or can you wait until August for a service release update to Gold R12 which will have this issue plus a few more things fixed.
Thanks,
Katie
Thanks,
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: can't add user with .engineering email address
Thanks Katie. I'm probably fine until August, providing you can validate this as a temporary workaround that I've developed. I've done this on my staging site and it seems to work.
1. Register the account with the .engineering TLD but adding a .com to the end of it (e.g., mike@acme.engineering.com). This passes the regex validation.
2. Edit the four fields in the ac_Users table directly (UserName, LoweredUserName, Email, LoweredEmail) to the correct email address which would be mike@acme.engineering).
This apparently works, i.e., after making that edit, I can login successfully. I wasn't sure if the email address was in some way used as a password salt, but apparently not.
Mike
1. Register the account with the .engineering TLD but adding a .com to the end of it (e.g., mike@acme.engineering.com). This passes the regex validation.
2. Edit the four fields in the ac_Users table directly (UserName, LoweredUserName, Email, LoweredEmail) to the correct email address which would be mike@acme.engineering).
This apparently works, i.e., after making that edit, I can login successfully. I wasn't sure if the email address was in some way used as a password salt, but apparently not.
Mike