From f845c2c2f5fb1e9593d8cfc17b268aead5eff45c Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 13 Jan 2017 15:53:16 +0100 Subject: [PATCH] IcingaServiceSetForm: remove the possibility... ...to override fields for all services at once. We need to figure out whether this feature should really be allowed. It's not that important any more, since we now allow to modify services once added to the set. Also, fields can now be overridden at host level. --- application/forms/IcingaServiceSetForm.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/forms/IcingaServiceSetForm.php b/application/forms/IcingaServiceSetForm.php index 5919b354..1f0664e8 100644 --- a/application/forms/IcingaServiceSetForm.php +++ b/application/forms/IcingaServiceSetForm.php @@ -35,7 +35,9 @@ class IcingaServiceSetForm extends DirectorObjectForm $object->service = $services; } - if ($this->assertResolvedImports()) { + // TODO: disabled for now. Sets have no fields, so somehow the resolver + // fails here + if (false && $this->assertResolvedImports()) { $this->fieldLoader($object) ->loadFieldsForMultipleObjects($object->getServiceObjects()); }