View Issue Details

IDProjectCategoryView StatusLast Update
0011983mantisbtcsvpublic2011-04-05 14:23
Reporterfxm Assigned Todhx  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformWindowsOSXPOS VersionSP3
Product Version1.2.1 
Target Version1.2.5Fixed in Version1.2.5 
Summary0011983: Excel export don't work on all station
Description

I try to "Excel Export" on a station and get a error message:

When "Getting file information: excel_xml_export.php" then I receive an error message "... cannot download ..."

But on an other station, all is OK ...

OS: Win XP SP3 - MS Excel 2003

TagsNo tags attached.
Attached Files

Activities

fxm

fxm

2010-06-04 02:45

reporter   ~0025693

We use IE 6.0 as browser. Upgrade to new version not possible due to enterprise policy ...

dhx

dhx

2010-06-09 03:59

reporter   ~0025780

Can you download attachments (uploaded to an issue) using your IE6 computers?

dhx

dhx

2010-06-09 04:03

reporter   ~0025781

Hmmm this is probably related to the Content-* type headers we send in excel_xml_export.php

header( 'Content-Type: application/vnd.ms-excel; charset=UTF-8' );
header( 'Pragma: public' );
header( 'Content-Type: application/vnd.ms-excel' );
header( 'Content-Disposition: attachment; filename="' . urlencode( file_clean_name( $t_export_title ) ) . '.xml"' ) ;

Those are either wrong (duplicated Content-Type!) or inconsistent with the approach used in file_download.php

I've assigned this bug to myself to clean up those headers. Note to self: check all other aspects of MantisBT to ensure that file download headers are consistent.

I'd still be interested in knowing whether standard attachments can be downloaded OK using your IE6 platform.

Thanks

fxm

fxm

2010-06-09 06:03

reporter   ~0025785

Hi,

Uploads and downloads are done without problem.

Thanks for your help.

fxm

fxm

2010-07-06 06:24

reporter   ~0026024

Solution to this problem is found.

But It make another issue ... (12138)

dhx

dhx

2010-08-14 01:20

reporter   ~0026311

If you've come here from commits cd2fce99 or 255ded95 with summaries of:

Fix 0011983: Excel export crashes due to missing due date export function

Please refer to 0012084 instead. I accidentally referenced the wrong bug ID in those commit messages.

Thanks

dhx

dhx

2010-12-25 04:12

reporter   ~0027698

Removed the duplicate Content-Type header.

It looks like this issue was actually fixed in an earlier release as per 0012084.

Related Changesets

MantisBT: master b565be1b

2010-12-25 04:03

dhx


Details Diff
Fix 0011983: Remove duplicate Content-Type header for Excel export Affected Issues
0011983
mod - excel_xml_export.php Diff File

MantisBT: master-1.2.x 095311d0

2010-12-25 04:03

dhx


Details Diff
Fix 0011983: Remove duplicate Content-Type header for Excel export Affected Issues
0011983
mod - excel_xml_export.php Diff File