[MGNLUI-6547] EmailFieldValidatorFactory does not allow empty fields Created: 02/Feb/21 Updated: 14/Jan/22 Resolved: 14/Jan/22 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | vaadin integration |
| Affects Version/s: | 6.2.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Marc Johnen | Assignee: | Mercedes Iruela |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | email, validation | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: | |||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||
| Date of First Response: | |||||||||
| Description |
| Comments |
| Comment by Richard Gange [ 03/Feb/21 ] |
|
Vaadin 7 pattern public EmailValidator(String errorMessage) { super("^([a-zA-Z0-9_\\.\\-+])+@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+$", true, errorMessage); Vaadin 8 pattern private static final String PATTERN = "^" + "([a-zA-Z0-9_\\.\\-+])+" // local + "@" + "[a-zA-Z0-9-.]+" // domain + "\\." + "[a-zA-Z0-9-]{2,}" // tld + "$"; |