From 948442977017b6e61c73b37b4453e310247e500e Mon Sep 17 00:00:00 2001 From: ravisaurav-tarento <142487505+ravisaurav-tarento@users.noreply.github.com> Date: Thu, 13 Jun 2024 13:33:11 +0530 Subject: [PATCH] Cbrelease 4.8.14 (#599) * added import statements * KB-4754:Modified validation error for employee Id * KB-4753:Changed error message format --- .../org/sunbird/profile/service/UserBulkUploadService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/sunbird/profile/service/UserBulkUploadService.java b/src/main/java/org/sunbird/profile/service/UserBulkUploadService.java index cae10192f..59e60c00a 100644 --- a/src/main/java/org/sunbird/profile/service/UserBulkUploadService.java +++ b/src/main/java/org/sunbird/profile/service/UserBulkUploadService.java @@ -274,10 +274,10 @@ private void processBulkUpload(HashMap inputDataMap) throws IOEx } if (StringUtils.isNotBlank(userRegistration.getEmployeeId())) { if (!ProjectUtil.validateEmployeeId(userRegistration.getEmployeeId())) { - invalidErrList.add("Invalid Employee ID : Employee ID can contain alphanumeric characters or numeric character and have a max length of 30"); + invalidErrList.add("Invalid Employee ID : Employee ID can contain alphabetic, alphanumeric or numeric character(s) and have a max length of 30"); } if(userRegistration.getEmployeeId().contains(Constants.SPACE)){ - invalidErrList.add("Invalid Employee ID : Employee Id cannot contain spaces"); + invalidErrList.add("Employee Id cannot contain spaces"); } } }