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

Wrong filter values being saved when editing existing filter by host inventory

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 42, Sprint 43, Sprint 44
    • Story Points:
      0.5

      Description

      Steps to reproduce:

      1. Navigate to Monitoring -> Triggers.
      2. Specify two values in filter by host inventory. For example:
        • Type: aaa
        • Type: bbb
      3. Press Filter button.
      4. Change "Type: aaa" to "Type: ccc".
      5. Press Filter button.
      6. Click on Monitoring -> Triggers in the main menu.

      Result:
      Observe that second filter by host inventory "Type: bbb" is now replaced with "Type: ccc".

       

      The same issue appears in Monitoring -> Problems (3.4 and 4.0) when filtering problems by tags.
      Steps to reproduce:

      1. Navigate to Monitoring -> Problems.
      2. Type two values in tag filter: 
        • database: customers
        • database: partners
      3. Press Apply button.
      4. Change "database: customers" to "database: orders".
      5. Press Apply button.
      6. Click on Monitoring -> Problems in the main menu.

      Result:
      Observe that second tag filter "database: partners" is now replaced with "database: orders".
      Duplicate values are saved to database. So the problem is somewhere in CProfile::updateArray() and CProfile::update().

        Attachments

          Activity

            People

            • Assignee:
              iivs Ivo Kurzemnieks
              Reporter:
              agriscenko Andrejs Griščenko
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: