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

LLD rule filter configuration tab should not show Type of calculation drop down with only one filter

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.4.0alpha1
    • 3.0.9rc1, 3.2.5rc1, 3.4.0alpha1
    • Frontend (F)
    • Sprint 4, Sprint 5, Sprint 6, Sprint 7, Sprint 8, Sprint 9
    • 1

      I was checking current trunk (r66532), it acts strangely:

      1. :
        1. Create a LLD rule, go to Filters tab, add one filter
        2. Choose Type of calculation: And
        3. Press Update, no errors
        4. View LLD rule, note that And was saved
      2. :
        1. Create a LLD rule, go to Filters tab, add one filter.
        2. Choose Type of calculation: Or
        3. Press Update, no errors
        4. View LLD rule, note that Or was saved
      3. :
        1. Create a LLD rule, go to Filters tab, add one filter.
        2. Choose Type of calculation: Custom
        3. Enter a valid expression, e.g. "A"
        4. Press Update, no errors
        5. View LLD rule, note that frontend silently saved And/Or
      4. :
        1. Create a LLD rule, go to Filters tab, add one filter.
        2. Choose Type of calculation: Custom
        3. Enter an invalid expression, e.g. "not A"
        4. Press Update, no errors
        5. View LLD rule, note that frontend silently saved And/Or
      5. :
        1. Create a LLD rule, go to Filters tab
        2. Add one filter
        3. Add a second one
        4. Remove the second filter
        5. Note that Type of calculation drop down disappears!

            Unassigned Unassigned
            glebs.ivanovskis Glebs Ivanovskis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: