[ZBX-10227] exporting events to CSV exports all host events, ignoring selected host Created: 2015 Dec 30  Updated: 2017 May 30  Resolved: 2016 Jan 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.4.5
Fix Version/s: 2.4.8rc1, 3.0.0beta2

Type: Incident report Priority: Major
Reporter: Ofir Hoffman Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: csv, events, export, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-9965 Export events to CSV disregards time ... Closed

 Description   

I've found an issue while doing an export to CSV on events page.
I got a CSV file with information about a search I did yesterday even though I have changed the host i'm looking at and it did change the web page accordingly.
I also checked with other's in my team and they had the same issue.

the way I managed to work around this is re logging to the web.

tried looking for this issue but couldn't find any mention of this.

p.s
we're using version 2.4.4 but It's not on the affected version's list



 Comments   
Comment by Oleksii Zagorskyi [ 2015 Dec 31 ]

Not reproducible on latest 2.2.12rc1-57195, but reproducible on 2.4.0 release, 2.4.8rc1-57209 and current trunk, so looks like introduced somewhere during 2.4 development.
Hard to believe that this bug was unnoticed until now ...

Issue in short - host selection doesn't affect CVS export, event for all hosts are always exported.
Trigger filter should be empty.

CONFIRMED.

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

(1) No translation strings changed.

iivs CLOSED

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

RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-10227

Comment by Ivo Kurzemnieks [ 2016 Jan 22 ]

(2) Dropdown is now broken. Select events from group A. Then select events from group B. Press "reset" on filter and notice that events are shown from group A although group B is selected in dropdown. Probably same for host dropdown.

gunarspujats RESOLVED in r57967

iivs Solution is hackish. We shouldn't change global variable $page just like that in one special case. Also, as we discussed, when pressing reset the "Host" column returns even if host is selected.

REOPENED

gunarspujats RESOLVED in r57994.

iivs Found two more problems causing Host column to appead and dissapear after changing group and filtering by events by trigger.

RESOLVED in r58017

gunarspujats CLOSED

Comment by Ivo Kurzemnieks [ 2016 Jan 27 ]

TESTED,

close (2) before merging.

gunarspujats Please check minor changes in r58029.

iivs We never wrote this for date, but I guess it doesn't hurt to add that.

Comment by Gunars Pujats (Inactive) [ 2016 Jan 28 ]

Fixed in:

  • pre-2.4.8rc1 r58049
  • pre-3.0.0beta2 (trunk) r58051
Comment by richlv [ 2016 Mar 18 ]

this might have fixed ZBX-9965, too

Generated at Thu Mar 28 22:25:01 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.