Skip to content

Commit

Permalink
address reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
vinumaddumage committed Nov 2, 2022
1 parent d6f0da8 commit 0741458
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ private void patchOperationRemove(String roleId, String path) throws Organizatio
pathFilterExpression = StringUtils.strip(path.split("\\[")[1].replace("]", "")).toLowerCase();
} else {
throw handleClientException(ERROR_CODE_ORG_ROLE_PATCH_REMOVE_OPERATION_INVALID_FILTER_FORMAT,
StringUtils.strip(path.substring(path.indexOf("[") + 1)));
StringUtils.strip(path.substring(path.indexOf("[") + 1)), roleId);
}
}

Expand Down Expand Up @@ -952,7 +952,8 @@ private void patchRemoveOpWithFilters(String roleId, String filter, String path)
}
}
} catch (IOException | IdentityException e) {
throw handleClientException(ERROR_CODE_ORG_ROLE_PATCH_REMOVE_OPERATION_INVALID_FILTER_FORMAT, filter);
throw handleClientException(ERROR_CODE_ORG_ROLE_PATCH_REMOVE_OPERATION_INVALID_FILTER_FORMAT, filter,
roleId);
}
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
<org.wso2.identity.organization.mgt.imp.pkg.version.range>[1.0.0,2.0.0)
</org.wso2.identity.organization.mgt.imp.pkg.version.range>

<identity.organization.management.core.version>1.0.27</identity.organization.management.core.version>
<identity.organization.management.core.version>1.0.28</identity.organization.management.core.version>
<org.wso2.identity.organization.mgt.core.imp.pkg.version.range>[1.0.0,2.0.0)
</org.wso2.identity.organization.mgt.core.imp.pkg.version.range>

Expand Down

0 comments on commit 0741458

Please sign in to comment.