Fixed issue in application validation

This commit is contained in:
piyushkag
2025-02-07 15:51:46 +05:30
parent 93f663826c
commit 9be0cf07a5

View File

@@ -173,11 +173,6 @@ public class FieldValidator {
throw new RuntimeException(e); throw new RuntimeException(e);
} }
break; break;
default:
// If the custom rule is unknown, just log or add an error (optional)
errors.add(MessageFormat.format(Translator.toLocale(GepafinConstant.VALIDATION_FIELD_CUSTOM), fieldId, customRule));
break;
} }
return this; return this;