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

Undefined offset when add trigger prototype dependencies

    XMLWordPrintable

Details

    • Team C
    • Sprint 89 (Jun 2022), Sprint 90 (Jul 2022)
    • 0.5

    Description

      Steps to reproduce:

      1. Create host TEST, add item and trigger
      2. Open template which linked to another host
        (for example, template "Zabbix server health" linked to host "Zabbix server")
      3. Open trigger prototype on template and select tab dependencies
      4. Add trigger from host TEST and save

      Result:

      Undefined offset: 22673 [trigger_prototypes.php:355 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CTriggerPrototype->update() → CTriggerGeneral::updateDependencies() → CTriggerGeneral::inheritDependencies() in include/classes/api/services/CTriggerGeneral.php:3128]
      

      Attachments

        Issue Links

          Activity

            People

              jfreibergs Janis Freibergs
              natalja.zabbix Natalja Romancaka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: