Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Switching to the icingadb backend and searching host/service node in add/edit form throws an error #443

Merged
merged 2 commits into from
Apr 19, 2024

Conversation

sukhwinder33445
Copy link
Contributor

@sukhwinder33445 sukhwinder33445 commented Mar 27, 2024

HostServiceTermValidator: $testConfig requires backend for MonitoringState::apply() call.

If the $testConfig has no backend set and icingadb is in use, MonitoringState::__construct($config) => $config->getBackend() returns an icingadb backend that is not suitable for the MonitoringState class.

fixes #430

…e in add/edit form throws an error

`HostServiceTermValidator`: `$testConfig` requires backend for `MonitoringState::apply()` call.

If the `$testConfig` has no backend set and icingadb is in use, `MonitoringState::__construct($config) => $config->getBackend()` returns an icingadb backend that is not suitable for the `MonitoringState` class.
@cla-bot cla-bot bot added the cla/signed label Mar 27, 2024
@sukhwinder33445 sukhwinder33445 force-pushed the fix/wrong-backend-on-backend-switch branch from 49b62ad to f4d704f Compare March 27, 2024 07:51
@sukhwinder33445 sukhwinder33445 self-assigned this Mar 27, 2024
@sukhwinder33445 sukhwinder33445 added the bug Something isn't working label Mar 27, 2024
@sukhwinder33445 sukhwinder33445 added this to the 2.5.1 milestone Mar 27, 2024
@nilmerg nilmerg merged commit c4ca750 into main Apr 19, 2024
14 checks passed
@nilmerg nilmerg deleted the fix/wrong-backend-on-backend-switch branch April 19, 2024 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cla/signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Obscure error message after migration to icingadb when config is older
3 participants