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

Error when a map has a trigger element with a host macro label

    XMLWordPrintable

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 60 (Jan 2020), Sprint 61 (Feb 2020), Sprint 62 (Mar 2020)
    • Story Points:
      0.125

      Description

      Whenever a map has a trigger element which has a label defined with a host macro - for example {HOST.NAME} and the current user has no read permissions on said trigger, the following errors are encountered:

      ⦁ array_key_exists() expects parameter 2 to be array, null given [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetMapView->doAction() → CMapHelper::get() → CMacrosResolverHelper::resolveMacrosInMapElements() → CMacrosResolver->resolveMacrosInMapElements() → array_key_exists() in include/classes/macros/CMacrosResolver.php:2255]
      
      ⦁ array_key_exists() expects parameter 2 to be array, null given [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetMapView->doAction() → CMapHelper::get() → CMacrosResolverHelper::resolveMacrosInMapElements() → CMacrosResolver->resolveMacrosInMapElements() → array_key_exists() in include/classes/macros/CMacrosResolver.php:2255]
      
      ⦁ array_key_exists() expects parameter 2 to be array, null given [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetMapView->doAction() → CMapHelper::get() → CMacrosResolverHelper::resolveMacrosInMapElements() → CMacrosResolver->resolveMacrosInMapElements() → array_key_exists() in include/classes/macros/CMacrosResolver.php:2255]
      
       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vmurzins Valdis Murzins
              Reporter:
              ArtursL Arturs Lontons
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: