From cacc24f5017142a0ed6491be16ff99ab74f86fa4 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 22 Feb 2019 14:30:06 +0100 Subject: [PATCH] NodeAddChildrenAction: Really import nodes if instructed to do so --- library/Businessprocess/Modification/NodeAddChildrenAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/Modification/NodeAddChildrenAction.php b/library/Businessprocess/Modification/NodeAddChildrenAction.php index def37a1..5d5ab29 100644 --- a/library/Businessprocess/Modification/NodeAddChildrenAction.php +++ b/library/Businessprocess/Modification/NodeAddChildrenAction.php @@ -32,7 +32,7 @@ class NodeAddChildrenAction extends NodeAction $node = $config->getBpNode($this->getNodeName()); foreach ($this->children as $name) { - if (! $config->hasNode($name)) { + if (! $config->hasNode($name) || $config->getNode($name)->getBpConfig()->getName() !== $config->getName()) { if (strpos($name, ';') !== false) { list($host, $service) = preg_split('/;/', $name, 2);