mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-25 17:19:33 -05:00
Use unescaped node name for missing children
This commit is contained in:
parent
f93873623f
commit
25f37d6575
3 changed files with 4 additions and 4 deletions
|
|
@ -448,7 +448,7 @@ class ProcessController extends Controller
|
|||
|
||||
protected function prepareMissingNodeLinks(HtmlElement $ul): void
|
||||
{
|
||||
$missing = $this->bp->getMissingChildren();
|
||||
$missing = array_keys($this->bp->getMissingChildren());
|
||||
if (! empty($missing)) {
|
||||
$missingLinkedNodes = null;
|
||||
foreach ($this->bp->getImportedNodes() as $process) {
|
||||
|
|
|
|||
|
|
@ -701,7 +701,7 @@ class BpConfig
|
|||
$msg = $this->isFaulty()
|
||||
? sprintf(
|
||||
t('Trying to import node "%s" from faulty config file "%s.conf"'),
|
||||
$name,
|
||||
self::unescapeName($name),
|
||||
$this->getName()
|
||||
)
|
||||
: sprintf(t('Trying to access a missing business process node "%s"'), $name);
|
||||
|
|
|
|||
|
|
@ -275,11 +275,11 @@ class BpNode extends Node
|
|||
|
||||
foreach ($this->getChildren() as $child) {
|
||||
if ($child->isMissing()) {
|
||||
$missing[$child->getName()] = $child;
|
||||
$missing[$child->getAlias()] = $child;
|
||||
}
|
||||
|
||||
foreach ($child->getMissingChildren() as $m) {
|
||||
$missing[$m->getName()] = $m;
|
||||
$missing[$m->getAlias()] = $m;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue