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

Incorrect acknowledgement. order if acknowledge time are the same

XMLWordPrintable

    • Sprint candidates
    • 0.5

      Steps to reproduce:

      1. Create problem event
      2. Update problem and set suppress "Indefinitely"
      3. Send an API requests at the same time (less than 1 second) to suppress and then unsuppress event
        "method": "event.acknowledge",
        "params": { "eventids": "5", "action": "32", "suppress_until": 0 }
        
        "method": "event.acknowledge",
        "params":{ "eventids": "5", "action": "64" } 

        script with curl script attached api-curl.sh

      1. Check result in DB and UI on problems page

      Result:
      incorrect acknowledge order, as result event with suppressed icon being displayed in problems list without the "Show suppressed problems" filter applied

      DB:

      Expected:
      Correct order. I assume that sorting should be by clock, but if clocks are the same then by eventid

            zabbix.dev Zabbix Development Team
            natalja.zabbix Natalja Romancaka
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: