diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/excel/validate/AbstractCustomFieldValidator.java b/backend/services/case-management/src/main/java/io/metersphere/functional/excel/validate/AbstractCustomFieldValidator.java index 635b11dc9f..3a2c194238 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/excel/validate/AbstractCustomFieldValidator.java +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/excel/validate/AbstractCustomFieldValidator.java @@ -49,7 +49,7 @@ public abstract class AbstractCustomFieldValidator { protected void validateArrayRequired(TemplateCustomFieldDTO customField, String value) throws CustomFieldValidateException { if (customField.getRequired() && (StringUtils.isBlank(value) || StringUtils.equals(value, "[]"))) { - CustomFieldValidateException.throwException(String.format(Translator.get("custom_field_required_tip"), customField.getFieldId())); + CustomFieldValidateException.throwException(String.format(Translator.get("custom_field_required_tip"), customField.getFieldName())); } }