This is an automated email from the ASF dual-hosted git repository. pradeep pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/master by this push: new a8c4b57ab RANGER-3750 : PatchForSolrSvcDefAndPoliciesUpdate_J10055 failing with 'duplicate key value violates unique constraint' a8c4b57ab is described below commit a8c4b57abd11ca2742a390e4292905e34b2543bc Author: mateen.mansoori <ma3naus...@gmail.com> AuthorDate: Fri May 6 14:27:56 2022 +0530 RANGER-3750 : PatchForSolrSvcDefAndPoliciesUpdate_J10055 failing with 'duplicate key value violates unique constraint' --- .../apache/ranger/patch/PatchForSolrSvcDefAndPoliciesUpdate_J10055.java | 1 - 1 file changed, 1 deletion(-) diff --git a/security-admin/src/main/java/org/apache/ranger/patch/PatchForSolrSvcDefAndPoliciesUpdate_J10055.java b/security-admin/src/main/java/org/apache/ranger/patch/PatchForSolrSvcDefAndPoliciesUpdate_J10055.java index dacfab696..949967cd3 100644 --- a/security-admin/src/main/java/org/apache/ranger/patch/PatchForSolrSvcDefAndPoliciesUpdate_J10055.java +++ b/security-admin/src/main/java/org/apache/ranger/patch/PatchForSolrSvcDefAndPoliciesUpdate_J10055.java @@ -289,7 +289,6 @@ public class PatchForSolrSvcDefAndPoliciesUpdate_J10055 extends BaseLoader { try { if (isAllResources) { - newRes.setValue("*"); for (NEW_RESOURCE resType : NEW_RESOURCE.values()) { createNewPolicy(resType.name(), newPolicyForNewResource, newRes, exPolicy.getName()); }