SEBSERV-123 fixed validation

This commit is contained in:
anhefti 2020-05-05 13:36:06 +02:00
parent bc490612cf
commit 4f34898e79

View file

@ -36,7 +36,7 @@ public final class Institution implements GrantEntity, Activatable {
public final String name;
@JsonProperty(INSTITUTION.ATTR_URL_SUFFIX)
@Pattern(regexp = "(^$|.{3,255})", message = "institution:urlSuffix:size:3:255:${validatedValue}")
@Pattern(regexp = "(^$|.{3,45})", message = "institution:urlSuffix:size:3:255:${validatedValue}")
public final String urlSuffix;
@JsonProperty(INSTITUTION.ATTR_LOGO_IMAGE)