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

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.9rc1, 3.2.5rc1, 3.4.0alpha1
    • Fix Version/s: 3.4.0alpha1
    • Component/s: Frontend (F)
    • Labels:
    • Sprint:
      Sprint 4, Sprint 5, Sprint 6, Sprint 7, Sprint 8, Sprint 9
    • Story Points:
      1

      Description

      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!

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: