mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-21 03:32:53 -05:00
Renderer: calculate state before retrieving...
...unbound nodes fixes #74
This commit is contained in:
parent
602202b042
commit
2b8f51e983
1 changed files with 5 additions and 0 deletions
|
|
@ -301,6 +301,11 @@ abstract class Renderer extends Html
|
|||
|
||||
protected function createUnboundParent(BpConfig $bp)
|
||||
{
|
||||
// Hint: state is useless here, but triggers parent/child "calculation"
|
||||
// This is an ugly workaround and should be made obsolete
|
||||
foreach ($bp->getBpNodes() as $p) {
|
||||
$p->getState();
|
||||
}
|
||||
$unbound = $bp->getUnboundNodes();
|
||||
|
||||
$parent = new BpNode($bp, (object) array(
|
||||
|
|
|
|||
Loading…
Reference in a new issue