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

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

      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]
      
       

            vmurzins Valdis Murzins
            ArtursL Arturs Lontons
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: