[ZBX-13728] Frontend - Incorrect problem duration calculation Created: 2018 Apr 10  Updated: 2024 Apr 10  Resolved: 2018 Apr 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.4.7, 3.4.8, 4.0.0alpha3
Fix Version/s: 3.4.9rc1, 4.0 (plan)

Type: Problem report Priority: Major
Reporter: Olegs Vasiljevs (Inactive) Assignee: Andrejs Griščenko
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 3.4.7.png     PNG File 3.4.8.png     PNG File 4.0.0alpha3.png     PNG File event_details.png    
Issue Links:
Causes
caused by ZBX-13309 Problem/Recovery time is wrong Closed
Duplicate
Team: Team B
Sprint: Sprint 32
Story Points: 0.25

 Description   

Steps to reproduce:

  1. Configure host, item, trigger.
  2. Force the trigger to go PROBLEM state, remain in PROBLEM state for some time (10 seconds is enough) and then return it to OK state.
  3. Go to Monitoring -> Trigger page, filter for any trigger and show events for 7 days, expand the event information as shown in the attachments.

Result:
In 4.0.0alpha3, duration will be equal to age of a problem.
In 3.4.7, the duration will be either equal to age of a problem or will contain different incorrect duration.
In 3.4.8, the duration will be equal to age of a problem with negative value.

Expected:
Correct duration is displayed, same as in event detail view (as seen in attachments).



 Comments   
Comment by Andrejs Griščenko [ 2018 Apr 17 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-13728

Comment by Andrejs Griščenko [ 2018 Apr 17 ]

Fixed in 3.4.9rc1 r79814.

Generated at Fri Apr 26 00:59:57 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.