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

Incorrect count of rows in action tooltips.

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • 4.2 (plan)
    • None
    • Frontend (F)
    • None
    • Sprint 42, Sprint 43
    • 0.5

      Footer message "Displaying x of y found." in actions hint-box doesn't appear when reaching ZBX_WIDGET_ROWS threshold.

      Steps to reproduce:

      • Acknowledge some event without any action to force actions icon appear in monitoring - problems screen;
      • Observe that there are 2 rows in actions hint-box - one for event generation and one for acknowledge;
      • Now change the constance ZBX_WIDGET_ROWS to "1" in defines.inc.php;
      • refresh problems page and look at same hint-tip again.

      Result:
      There is only one row (that's correct). Message "Displaying 1 of 2 found" in tooltip footer doesn't appear.

      More technical explanation: 
      Function getSingleEventActions returns total count of acknowledges and alerts only, ignoring "artificially" added rows like ZBX_EVENT_HISTORY_PROBLEM_EVENT and ZBX_EVENT_HISTORY_RECOVERY_EVENT.

            basilgon Vasily Goncharenko (Inactive)
            Miks.Kronkalns Miks Kronkalns
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: