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

Errors in tr_testexp popup

    XMLWordPrintable

Details

    Description

      Expression:

      (({H1:0000.last(0)}=0&{H1:asasa.last(0)}=0&{H1:xml.last(0)}=0)|({H1:0000.last(0)}=1&{H1:asasa.last(0)}=1&{H1:xml.last(0)}=1)|({H1:0000.last(0)}=2&{H1:asasa.last(0)}=2&{H1:xml.last(0)}=2))&(({H1:0000.last(0)}=5&{H1:asasa.last(0)}=5&{H1:xml.last(0)}=5)|({H1:0000.last(0)}=4&{H1:asasa.last(0)}=4&{H1:xml.last(0)}=4)|({H1:0000.last(0)}=3&{H1:asasa.last(0)}=3&{H1:xml.last(0)}=3)) | {TRIGGER.VALUE}=0
      

      Expression constructor -> Test

      We can enter any value, for example:

      {H1:0000.last(0)} = 0
      {H1:asasa.last(0)} = 0
      {H1:xml.last(0)} = 0
      {TRIGGER.VALUE} = 0
      

      Result:

      Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\2.1\frontends\php\include\triggers.inc.php(2419) : eval()'d code on line 1
      Parse error: syntax error, unexpected ')' in C:\xampp\htdocs\2.1\frontends\php\include\triggers.inc.php(2419) : eval()'d code on line 1
      ...
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              oleg.egorov Oleg Egorov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: