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

trigger editor does not preserve element ordering

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.8.1, 1.9.0 (alpha)
    • Fix Version/s: 1.8.2
    • Component/s: Frontend (F)
    • Labels:
      None

      Description

      the new trigger editor incorrectly reverses elements. while this is not significant if the expression is like A&B or A|B, the attached screenshot shows the following expression :

      {Another Host:net.tcp.service[ssh].last(0)}

      =0 &

      {A Test Host:net.tcp.service[ssh].last(0)}

      =0 |

      {A Test Host:grpavg["Linux servers","system.cpu.load","last","0"].last(0)}

      =0

      which becomes :

      {A Test Host:grpavg["Linux servers","system.cpu.load","last","0"].last(0)}

      =0 &

      {A Test Host:net.tcp.service[ssh].last(0)}

      =0 |

      {Another Host:net.tcp.service[ssh].last(0)}

      =0

      thus the trigger logic is completely broken

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: