Skip to content

Commit

Permalink
Cbrelease 4.8.14 (#599)
Browse files Browse the repository at this point in the history
* added import statements

* KB-4754:Modified validation error for employee Id

* KB-4753:Changed error message format
  • Loading branch information
ravisaurav-tarento authored Jun 13, 2024
1 parent c7a8bfd commit 9484429
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,10 @@ private void processBulkUpload(HashMap<String, String> 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");
}
}
}
Expand Down

0 comments on commit 9484429

Please sign in to comment.