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

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 10, Sprint 11, Sprint 12
    • Story Points:
      0.5

      Description

      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]
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              igm Igors Makejevs (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: