[ZBX-10866] Incorrect timeline period Created: 2016 Jun 01  Updated: 2017 May 30  Resolved: 2016 Jun 29

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.13, 2.4.8, 3.0.3, 3.2.0alpha1
Fix Version/s: 2.2.14rc1, 3.0.4rc1, 3.2.0alpha1

Type: Incident report Priority: Blocker
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: timeperiodselection
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-10619 Zoom scroll start time problem with E... Closed

 Description   

Environment:
1. New itemid added at 2016-04-29 09:00:00
2. Today is 2016-05-31.

With these conditions it is impossible to choose timeperiod > than 2 days in time selector. So Zabbix considers that history/trends are available only for last 2 days.



 Comments   
Comment by Kim Jongkwon [ 2016 Jun 06 ]

I feel like this issue relating to ZBX-10619

Comment by vitalijs.cemeris (Inactive) [ 2016 Jun 16 ]

(1) No translation string changes.

gunarspujats CLOSED

Comment by vitalijs.cemeris (Inactive) [ 2016 Jun 16 ]

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

Comment by vitalijs.cemeris (Inactive) [ 2016 Jun 20 ]

(2) Using setMonth(arg) + setDate(arg) will set unexpected result if (date > days in month)
so instead of setting year, month, date, hours, minutes, seconds one after another, set them all with setTimeObject() method.

RESOLVED in r60692, r60698

gunarspujats CLOSED

Comment by Gunars Pujats (Inactive) [ 2016 Jun 21 ]

(3) Coding style

js/class.cdate.js
1. :274 - better to use "else if" statements
2. :283 - incorrect function parameter, should be "h"

vitalijs.cemeris Thanks, RESOLVED in r60709, r60711.

gunarspujats CLOSED

Comment by Gunars Pujats (Inactive) [ 2016 Jun 22 ]

Tested

Comment by vitalijs.cemeris (Inactive) [ 2016 Jun 22 ]

Fixed in:

  • pre-2.2.14rc1 r60773
  • pre-3.0.4rc1 r60722
  • pre-3.1.0 r60723
Comment by vitalijs.cemeris (Inactive) [ 2016 Jun 27 ]

(4) Fixed for 2.2 in the development branch svn://svn.zabbix.com/branches/dev/ZBX-10866 r60723

gunarspujats CLOSED

Generated at Thu Apr 18 10:54:36 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.