Skip to content

Fix/type error null parentuuid in monitoring rules tree#632

Open
Wintermute2k6 wants to merge 3 commits into
Icinga:mainfrom
Wintermute2k6:fix/TypeError-null-parentuuid-in-MonitoringRulesTree
Open

Fix/type error null parentuuid in monitoring rules tree#632
Wintermute2k6 wants to merge 3 commits into
Icinga:mainfrom
Wintermute2k6:fix/TypeError-null-parentuuid-in-MonitoringRulesTree

Conversation

@Wintermute2k6
Copy link
Copy Markdown

customer suggestion of the following fix ref/nc/895761

MonitoringRulesTree::getInheritedSettingsFor() returns zero to MonitoringRuleSet::loadOptionalForUuid(string $uuid), when an object has no parent_uuid. With PHP 8.x the leads to an TypeError and also blocks Rule-Refreshing.

…me which leads to division by zero - Customer suggested changes in VmDiskUsageTable.php and SimpleUsageBar.php

tried to fix indention

fixed typo

fixed typo

fixed indention

fixed indention
…turns zero to MonitoringRuleSet::loadOptionalForUuid(string $uuid), when an object has no parent_uuid. With PHP 8.x the leads to an TypeError and also blocks Rule-Refreshing
@cla-bot cla-bot Bot added the cla/signed label May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant