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

Map tree blocked if used trigger deactivated

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 6.2.7
    • Frontend (F)
    • None

      Index: app/controllers/CControllerWidgetNavTreeView.php
      IDEA additional info:
      Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
      <+>UTF-8
      ===================================================================
      --- app/controllers/CControllerWidgetNavTreeView.php    (date 1674795803646)
      +++ app/controllers/CControllerWidgetNavTreeView.php    (date 1674795803646)
      @@ -248,6 +248,7 @@
                                   );
       
                                   foreach ($uncounted_problem_triggers as $triggerid => $var) {
      +                                if(!key_exists($triggerid, $problems_per_trigger)) continue;
                                       $problems_to_add = $problems_per_trigger[$triggerid];
                                       $problems_counted[$triggerid] = true;
      ​ 

      Add check for trigger existence.

       

      Issue appears if in tree used map with triggers deactivated for some reason.

            vmurzins Valdis Murzins
            denser Denis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: