Commit graph

6 commits

Author SHA1 Message Date
Sukhwinder Dhillon
f4d704fbd5 Fix: Switching to the icingadb backend and searching host/service node 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.
2024-03-27 08:47:02 +01:00
Sukhwinder Dhillon
7346cd1cab HostServiceTermValidator:isValid(): Add missing return statement 2023-08-24 13:04:29 +02:00
Johannes Meyer
0ea04f898f Drop obsolete class NoDuplicateChildrenValidator 2023-08-09 16:13:01 +02:00
Johannes Meyer
6dd8a51ce5 Introduce new form validator for host/service terms 2023-08-09 16:13:01 +02:00
Johannes Meyer
8f868d79c9 NoDuplicateChildrenValidator: Don't detect a no-change as duplicate 2020-06-26 11:20:14 +02:00
Johannes Meyer
763ac872d3 Introduce and utilize class NoDuplicateChildrenValidator 2019-02-14 11:29:30 +01:00