Bug #18255 Excel Export from list.php page is non-functioning
Submitted: 15 Mar 2006 14:53 Modified: 7 Apr 2007 17:19
Reporter: Edward Prevost Email Updates:
Status: Closed Impact on me:
None 
Category:Eventum Severity:S3 (Non-critical)
Version:1.7.0 OS:Any (Server: SuSE Clients: XP)
Assigned to: Bryan Alsdorf CPU Architecture:Any

[15 Mar 2006 14:53] Edward Prevost
Description:
When a user clicks on the XLS icon to export the issues list to an XLS spreadsheet, if he or she is in IE it is refused. Mozilla seems to handle this alright. I have read through the threads of version 1.6.1 and found that there was a suppossed fix in the header()s which was added in 1.7.0, I made sure that the header() changes were in place in our install:

$csv = base64_decode(#HTTP_POST_VARS["csv_data"]) ;

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT") ;
header("Last-Modified: " . gmt("d M Y  H:i:s") . " GMT") ;
header("Pragma: no-cahce") ;
header("Content-Type: application/vnd.ms-excel");
header("Content-Disposition: attachment; filename=".uniqid('').'.xls');
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
header("Content-Type: application/vnd.ms-excel");
header("Content-Disposition: \"inline\"");
header("Content-Length: " . strlen($csv));
echo $csv ;

This looks inline with the previous bug I found, however, it does not remedy the excel export issue.

How to repeat:
1) Login to Eventum 1.7.0 using IE
2) Navigate tot he list issues page
3) Click on the XLS icon to the top-right of the issues list
[19 May 2006 16:27] Bryan Alsdorf
I am unable to reproduce this bug. With Eventum 1.71 on Linux and IE 6 on Windows XP the CSV export works correctly.

What is the exact error message you are getting? A screenshot may be helpful.
[19 Jun 2006 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[7 Apr 2007 17:19] Edward Prevost
The issue was SSL. With SSL active the XLS spreadsheet will not be rendered through IE. This is a known headers handling issue within IE. it is technically therefore NOT an Eventum bug.