Skip to content
Snippets Groups Projects
Unverified Commit a79fdd29 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

BUG: Workaround für probleme in der WebUI

parent 0e2927e6
Branches
Tags
No related merge requests found
...@@ -222,6 +222,9 @@ public class AWIBoxLoan extends AWIBoxLoanModel { ...@@ -222,6 +222,9 @@ public class AWIBoxLoan extends AWIBoxLoanModel {
if (Objects.equals(p.getId(), getEmailID()) && p.getValue() instanceof SingleValue) { if (Objects.equals(p.getId(), getEmailID()) && p.getValue() instanceof SingleValue) {
if (!Utils.isRFC822Compliant(((SingleValue) p.getValue()).toDatabaseString())) { if (!Utils.isRFC822Compliant(((SingleValue) p.getValue()).toDatabaseString())) {
p.addError(ServerMessages.EMAIL_NOT_WELL_FORMED); p.addError(ServerMessages.EMAIL_NOT_WELL_FORMED);
} else {
p.setName("email"); // TODO fix webinterface to use lower-case email
p.setNameOverride(false);
} }
return true; return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment