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), Sprint candidates
    • 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)}}
      

            zabbix.dev Zabbix Development Team
            epulke Elina Pulke
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: