Open Samueel opened 12 years ago
Have you found any solutions for this?
Hi Samuel...
At the moment we are working on other issues, ASAP we have news, we will add a comment. The same for a new release that will include the fix for your reported issue.
Kind Regards Alejandro
Hello Samueel, The issue was resolved. You can download the src code and build the plugin by yourself. Or you can wait until our next release, that will have solved this and other issues. Thanks.! Alejandro
Hello Alejandro,
the bug has been resolved on liferay 6.0 branch also?
Cheers, Ivan
Hello Ivan,
Thank you for contacting us.
We are not currently giving support to version 6.0.x of the protlet. We suggest you to downlod changes from branch 6.1 and apply them if you want.
Kind regards Alejandro
Ok, thanks
You can check this class (NewsletterSubscriptor) to add changes and build the portlet modified.
The pattern is specified in this line: @Pattern(regexp = "^[_A-Za-z0-9-]+(.[A-Za-z0-9-]+)@[A-Za-z0-9-]+(.[A-Za-z0-9]+)(.[A-Za-z]{2,})$")
public class NewsletterSubscriptor extends NewsletterEntity { public static final String EMAIL = "email"; private static final long serialVersionUID = 1L; private String firstName; private String lastName; @NotBlank //#7392 @Pattern(regexp = "^[_A-Za-z0-9-]+(.[A-Za-z0-9-]+)@[A-Za-z0-9-]+(.[A-Za-z0-9]+)(.[A-Za-z]{2,})$") private String email;
Regards Alejandro
When user tries to register newsletter with email address which have ' - ' symbol (line) in it, registering portlet gives next error:
email must match "^[_A-Za-z0-9-]+(.[A-Za-z0-9-]+)@[A-Za-z0-9]+(.[A-Za-z0-9]+)_(.[A-Za-z]{2,})$"
Is it possible to change that syntax so it will accept email addresses like "somebody@some-where.com" ? And if it is possible, where i can do this?