From 3c7c05b5e9eea4359fa5dd1cfe2a39c83acaa485 Mon Sep 17 00:00:00 2001 From: Pahansith Date: Mon, 21 Sep 2020 21:03:10 +0530 Subject: [PATCH] Fix reactive action issue --- .../org/wso2/carbon/policy/mgt/core/util/PolicyManagerUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/util/PolicyManagerUtil.java b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/util/PolicyManagerUtil.java index 62306b0ec9..a40334f57e 100644 --- a/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/util/PolicyManagerUtil.java +++ b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/util/PolicyManagerUtil.java @@ -306,7 +306,7 @@ public class PolicyManagerUtil { for (CorrectiveAction correctiveAction : feature.getCorrectiveActions()) { if (correctiveAction.isReactive()) { if (profileOperation.getReactiveActionIds() == null) { - profileOperation.setCorrectiveActionIds(new ArrayList<>()); + profileOperation.setReactiveActionIds(new ArrayList<>()); } profileOperation.getReactiveActionIds().add(correctiveAction.getPolicyId()); } else {