Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-14763

Unable to update discovery rule trigger prototype in template

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 3.4.11
    • Frontend (F)
    • None
    • Ubuntu 16.04

      Steps to reproduce:

      1. Select a trigger prototype under Configuration->Templates->Discovery->Trigger Prototypes.
      2. Edit the Expression.
      3. Click Update.

      Result:

      The web interface shows a blank screen. The following appears in the Apache error log:

      PHP Fatal error: Uncaught TypeError: Argument 2 passed to dbConditionString() must be of the type array, null given, called in /usr/share/zabbix/include/classes/api/services/CTriggerGeneral.php on line 1265 and defined in /usr/share/zabbix/include/db.inc.php:883\nStack trace:\n#0 /usr/share/zabbix/include/classes/api/services/CTriggerGeneral.php(1265): dbConditionString('i.key_', NULL)\n#1 /usr/share/zabbix/include/classes/api/services/CTriggerGeneral.php(999): CTriggerGeneral->implode_expressions(Array, Array, Array)\n#2 /usr/share/zabbix/include/classes/api/services/CTriggerGeneral.php(198): CTriggerGeneral->updateReal(Array, Array)\n#3 /usr/share/zabbix/include/classes/api/services/CTriggerGeneral.php(76): CTriggerGeneral->inheritOnHost(Array, Array)\n#4 /usr/share/zabbix/include/classes/api/services/CTriggerPrototype.php(471): CTriggerGeneral->inherit(Array)\n#5 /usr/share/zabbix/include/classes/api/clients/CLocalApiClient.php(123): CTriggerPrototype->update(Array)\n#6 /usr/share/zabbix/include/classes/api/wrappers/CFrontendApiWr in /usr/share/zabbix/include/db.inc.php on line 883

      Expected:
      The template is updated.

            Unassigned Unassigned
            mgrocock Mark Grocock
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: