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

Impossibile to massupdate autodiscovered triggers severity

XMLWordPrintable

    • Sprint 68 (Sep 2020), Sprint 69 (Oct 2020)
    • 0.125

      Steps to reproduce:

      1. go to triggers list and check one or more trigger
      2. go to massupdate
      3. change severity
      4. save

      Result:
      The web page go to 500 error
      Form data:

       

      sid: bd8886f71630e3e7
      form_refresh: 2
      hostid: 0
      action: trigger.massupdate
      g_triggerid[17309]: 17309
      g_triggerid[17310]: 17310
      visible[priority]: 1
      priority: 4
      massupdate: Update
      

      Apache error log:

       

       

      [Fri Aug 28 14:26:30.718198 2020] [php7:error] [pid 914720] [client 10.168.0.1:43150] PHP Fatal error: Uncaught TypeError: Argument 2 passed to CTriggerGeneral::updateReal() must be of the type array, null given, called in /usr/share/zabbix/include/classes/api/services/CTrigger.php on line 582 and defined in /usr/share/zabbix/include/classes/api/services/CTriggerGeneral.php:1348\nStack trace:\n#0 /usr/share/zabbix/include/classes/api/services/CTrigger.php(582): CTriggerGeneral->updateReal()\n#1 /usr/share/zabbix/include/classes/api/clients/CLocalApiClient.php(123): CTrigger->update()\n#2 /usr/share/zabbix/include/classes/api/wrappers/CFrontendApiWrapper.php(97): CLocalApiClient->callMethod()\n#3 /usr/share/zabbix/include/classes/api/wrappers/CApiWrapper.php(94): CFrontendApiWrapper->callClientMethod()\n#4 /usr/share/zabbix/include/classes/api/wrappers/CFrontendApiWrapper.php(63): CApiWrapper->callMethod()\n#5 /usr/share/zabbix/include/classes/api/wrappers/CApiWrapper.php(82): CFrontendApiWrapper->callMethod()\n#6 /usr/share/zabbix/triggers.php(512): CApiWrapper->__call()\n#7 {main}\n thrown in /usr/share/zabbix/include/classes/api/services/CTriggerGeneral.php on line 1348, referer: http://10.168.0.100/zabbix/triggers.php

       

            iivs Ivo Kurzemnieks
            kamy Luca Camillo
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: