Fix reactive action issue

4.x.x
Pahansith 4 years ago
parent 291859bf55
commit 3c7c05b5e9

@ -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 {

Loading…
Cancel
Save