mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-25 13:32:54 -05:00
Fix tile rendering for Bp nodes with unconfirmed deleted monitored nodes
Earlier in NodeRemoveAction the states were recalculated for the BpNodes. Hence, the state for parent nodes with unconfirmed deleted monitored nodes (host/service) is set to Unknown. This results in incorrect tile rendering for the parent nodes. Therefore, any call to methods which recalculate the states are removed. fix #279
This commit is contained in:
parent
a212d6ea5e
commit
b39d953fee
1 changed files with 0 additions and 2 deletions
|
|
@ -62,7 +62,6 @@ class NodeRemoveAction extends NodeAction
|
|||
*/
|
||||
public function applyTo(BpConfig $config)
|
||||
{
|
||||
$config->calculateAllStates();
|
||||
$name = $this->getNodeName();
|
||||
$parentName = $this->getParentName();
|
||||
if ($parentName === null) {
|
||||
|
|
@ -81,7 +80,6 @@ class NodeRemoveAction extends NodeAction
|
|||
} else {
|
||||
$node = $config->getNode($name);
|
||||
$parent = $config->getBpNode($parentName);
|
||||
$parent->getState();
|
||||
$parent->removeChild($name);
|
||||
$node->removeParent($parentName);
|
||||
if (! $node->hasParents()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue