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

Error "Undefined variable" appears during trigger expression test in frontend

XMLWordPrintable

    • Team B
    • Sprint 10, Sprint 11, Sprint 12
    • 0.5

      Create trigger with following expression:

      ({Template ICMP Ping:icmppingloss.min({$PING_1_DELAY})}>{$PING_LOSS} and {$PING_1_DELAY}>{$PING_2_DELAY}) or ({Template ICMP Ping:icmppingloss.min({$PING_2_DELAY})}>{$PING_LOSS} and {$PING_1_DELAY}<={$PING_2_DELAY})
      

      Go into Expression constructor and click on Test link, assign some values to variables and click Test button. Following errors appears:

      Undefined variable: result [tr_testexpr.php:155 ? evalExpressionData() in include/triggers.inc.php:1900]
      Undefined variable: result [tr_testexpr.php:155 ? evalExpressionData() in include/triggers.inc.php:1900]
      Undefined variable: result [tr_testexpr.php:155 ? evalExpressionData() in include/triggers.inc.php:1900]
      Undefined variable: result [tr_testexpr.php:171 ? evalExpressionData() in include/triggers.inc.php:1900]
      

            Unassigned Unassigned
            igm Igors Makejevs (Inactive)
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: