ve.addError("ldapGroups", "At least one entry is required in the access list");
}
if (fields.containsKey("contentWarningText") && fields.get("contentWarningText") == null)
{
ve.addError("contentWarningText", CONTENT_WARNING_REQUIRED_ERROR_MESSAGE);
}
else if (fields.containsKey("contentWarningText")
&& ((String) fields.get("contentWarningText")).length() > SystemSettings.MAX_INPUT)
{
ve.addError("contentWarningText", CONTENT_WARNING_LENGTH_ERROR_MESSAGE);