Merge pull request #10713 from YevhenBondarenko/fix/rule-chain-relations
fixed removing relations between rule nodes
This commit is contained in:
commit
85f2047c8b
@ -197,6 +197,7 @@ public class BaseRuleChainService extends AbstractEntityService implements RuleC
|
||||
List<RuleNodeUpdateResult> updatedRuleNodes = new ArrayList<>();
|
||||
List<RuleNode> existingRuleNodes = getRuleChainNodes(tenantId, ruleChainMetaData.getRuleChainId());
|
||||
for (RuleNode existingNode : existingRuleNodes) {
|
||||
relationService.deleteEntityRelations(tenantId, existingNode.getId());
|
||||
Integer index = ruleNodeIndexMap.get(existingNode.getId());
|
||||
RuleNode newRuleNode = null;
|
||||
if (index != null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user