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

Fatal error in map view

XMLWordPrintable

    • Sprint 27
    • 0.5

      Steps to reproduce:

      1. create public map with two elements
        1. image
        2. trigger
      2. set "Icon label type" to "Element name"
      3. login to UI with unprivileged user (no permissions to this trigger)
      4. open map

      Result:

      Fatal error: Uncaught TypeError: Argument 1 passed to CMacrosResolverHelper::resolveTriggerName() must be of the type array, null given, called in include/maps.inc.php on line 1274 and defined in include/classes/macros/CMacrosResolverHelper.php:190 Stack trace: #0 include/maps.inc.php(1274): CMacrosResolverHelper::resolveTriggerName(NULL) #1 include/classes/helpers/CMapHelper.php(144): getSelementsInfo(Array, Array) #2 include/classes/helpers/CMapHelper.php(96): CMapHelper::resolveMapState(Array, Array, Array) #3 include/classes/screens/CScreenMap.php(36): CMapHelper::get('2502', Array) #4 app/vi in nclude/classes/macros/CMacrosResolverHelper.php on line 190

            sasha Alexander Vladishev
            sasha Alexander Vladishev
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: