Skip to content

Commit

Permalink
Merge pull request #233 from sunbird-cb/userBulkUploadChanges-4.8.2
Browse files Browse the repository at this point in the history
changes for channel and tags
  • Loading branch information
Haritest authored May 30, 2023
2 parents 929fd05 + 54adaa6 commit c832da5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/sunbird/common/util/ProjectUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public static Boolean validateLastName( String lastName ) {

public static Boolean validateTag(List<String> tags) {
for (String tag : tags) {
if (!tag.matches("[a-zA-Z]*")) {
if (!tag.matches("[a-zA-Z ]*")) {
return false;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ private void processBulkUpload(HashMap<String, String> inputDataMap) throws IOEx
}
}
userRegistration.setOrgName(inputDataMap.get(Constants.ORG_NAME));
userRegistration.setChannel(inputDataMap.get(Constants.ORG_NAME));
Cell statusCell = nextRow.getCell(8);
Cell errorDetails = nextRow.getCell(9);
if (statusCell == null) {
Expand Down

0 comments on commit c832da5

Please sign in to comment.