[ZBX-5237] File with exported into CSV events contains garbage Created: 2012 Jun 25  Updated: 2017 May 30  Resolved: 2012 Jun 26

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.0
Fix Version/s: 2.0.2rc1, 2.1.0

Type: Incident report Priority: Critical
Reporter: Dmitry Sergienko Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: events, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux Debian 5.0, FreeBSD 8.2


Attachments: File zbx_events_export.csv    
Issue Links:
Duplicate
is duplicated by ZBX-5335 Strange behaviour exporting events to... Closed

 Description   

When I try to export events into CSV file I receive file with garbage (HTML/JS code) at the beginning of this file like this:

<div id="scriptDialog" style="display:none
" function showScriptDialog(confirmation, buttons)

{" " jQuery('#scriptDialog').text(confirmation)" " var w = jQuery('#scriptDialog').outerWidth() + 20" [...snip...] " }

"
</script>



 Comments   
Comment by richlv [ 2012 Jun 25 ]

confirming in 2.0.0

Comment by richlv [ 2012 Jun 25 ]

note that it's not just garbage being at the top of the file, actual event information is not included at all

<pavels> Data seems to be exported correctly when I try it.

<richlv> oh, apparently i had few enough events to miss them between all that mess, CLOSED

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jun 26 ]

Broken by r24986, ZBXNEXT-1066.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jun 26 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-5237.

Comment by Dmitry Sergienko [ 2012 Jun 26 ]

Thanks for fast response to this bug.
I'd like to confirm your fix solves the problem.

Comment by Toms (Inactive) [ 2012 Jun 26 ]

TESTED

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jun 28 ]

Fixed in 2.0 r28504 and trunk r28505.

CLOSED.

Generated at Fri Mar 29 12:32:22 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.