trapdirector icon indicating copy to clipboard operation
trapdirector copied to clipboard

Unable to modify existing trap handler

Open manfredw opened this issue 4 years ago • 1 comments

Get debug logs

no specific debug logs (level trace or ALL) found.

Describe the bug

Instead of updating the handler the following red error message appears: "Error : count(): Parameter must be an array or an object that implements Countable" I was not able to identify all JS/PHP scripts involved in this procedure.

To Reproduce

Open any existing handler and press "Update" button. Opening of handler takes some time (3-5sec), if I use hostgroups, it also takes additional time until service names (for hostgroups) are shown. The previous used director version 1.04 which worked.

Expected behavior

Update rule without error message.

Your Environment:

  • trapdirector version (in icinga web 2 : System - About): 1.06
  • Icinga Web 2 version and modules (in icinga web 2 : System - About): 2.9.3
  • Icinga 2 version (icinga2 --version): 2.13.1
  • Operating System and version: Linux openSUSE 15.2
  • Webserver, PHP versions: apache2, php 7.4

manfredw avatar Nov 03 '21 12:11 manfredw

Duplicate: https://github.com/patrickpr/trapdirector/issues/64

Tqnsls avatar Jun 29 '22 12:06 Tqnsls