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

Trigger expression constructor with disabled expressions shows incorrect "<", ">" signs

XMLWordPrintable

    • Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), S24-W24/25
    • 1

      Note! Please fix this only after merge of ZBXNEXT-8453.

      Additional escaping in trigger expressions expression table, for example ">"(greater character) is escaped to &gt. This is observed only for triggers with "readonly" expressions.

      Steps to reproduce:

      • Open Zabbix server host and click on inherited trigger, "Linux by Zabbix agent: Linux: /etc/passwd has been changed" for example.
      • In trigger popup click "expression constructor"

      Observed:
      Expression part - 

      {{last(/Zabbix server/vfs.file.cksum[/etc/passwd,sha256],#1)&lt;&gt;last(/Zabbix server/vfs.file.cksum[/etc/passwd,sha256],#2)}}
      

      Expected:

      Expression do not have double escaping - 

      {{last(/Zabbix server/vfs.file.cksum[/etc/passwd,sha256],#1)<>last(/Zabbix server/vfs.file.cksum[/etc/passwd,sha256],#2)}}
      

            iivs Ivo Kurzemnieks
            epulke Elina Pulke
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 2h 8m
                2h 8m