MantisBT

View Issue Details Jump to Notes ] Wiki ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011983mantisbtcsvpublic2010-06-03 11:292011-04-05 14:23
Reporterfxm 
Assigned Todhx 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformWindowsOSXPOS VersionSP3
Product Version1.2.1 
Target Version1.2.5Fixed in Version1.2.5 
Summary0011983: Excel export don't work on all station
DescriptionI 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 Filesgif file icon ScreenHunter_01 Jun. 03 17.19.gif [^] (60,845 bytes) 2010-06-03 11:29


gif file icon ScreenHunter_02 Jun. 03 17.20.gif [^] (11,878 bytes) 2010-06-03 11:29

- Relationships

-  Notes
User avatar (0025693)
fxm (reporter)
2010-06-04 02:45

We use IE 6.0 as browser. Upgrade to new version not possible due to enterprise policy ...
User avatar (0025780)
dhx (developer)
2010-06-09 03:59

Can you download attachments (uploaded to an issue) using your IE6 computers?
User avatar (0025781)
dhx (developer)
2010-06-09 04:03

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
User avatar (0025785)
fxm (reporter)
2010-06-09 06:03

Hi,

Uploads and downloads are done without problem.

Thanks for your help.
User avatar (0026024)
fxm (reporter)
2010-07-06 06:24

Solution to this problem is found.

But It make another issue ... (12138)
User avatar (0026311)
dhx (developer)
2010-08-14 01:20

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
User avatar (0027698)
dhx (developer)
2010-12-25 04:12

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
Timestamp: 2010-12-25 09:03:51
Author: dhx
Details ] Diff ]
Fix 0011983: Remove duplicate Content-Type header for Excel export
mod - excel_xml_export.php Diff ] File ]
MantisBT: master-1.2.x 095311d0
Timestamp: 2010-12-25 09:03:51
Author: dhx
Details ] Diff ]
Fix 0011983: Remove duplicate Content-Type header for Excel export
mod - excel_xml_export.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-06-03 11:29 fxm New Issue
2010-06-03 11:29 fxm File Added: ScreenHunter_01 Jun. 03 17.19.gif
2010-06-03 11:29 fxm File Added: ScreenHunter_02 Jun. 03 17.20.gif
2010-06-04 02:45 fxm Note Added: 0025693
2010-06-09 03:59 dhx Note Added: 0025780
2010-06-09 04:03 dhx Note Added: 0025781
2010-06-09 04:03 dhx Assigned To => dhx
2010-06-09 04:03 dhx Status new => assigned
2010-06-09 04:03 dhx Target Version => 1.2.2
2010-06-09 06:03 fxm Note Added: 0025785
2010-07-06 06:24 fxm Note Added: 0026024
2010-07-29 10:41 jreese Target Version 1.2.2 => 1.2.3
2010-08-12 09:52 dhx Changeset attached => MantisBT master cd2fce99
2010-08-12 09:52 dhx Changeset attached => MantisBT master-1.2.x 255ded95
2010-08-12 09:52 dhx Resolution open => fixed
2010-08-12 09:52 dhx Fixed in Version => 1.2.3
2010-08-14 01:20 dhx Note Added: 0026311
2010-08-14 01:20 dhx Changeset removed MantisBT master cd2fce99 =>
2010-08-14 01:20 dhx Changeset removed MantisBT master-1.2.x 255ded95 =>
2010-09-14 10:55 jreese Target Version 1.2.3 => 1.2.4
2010-09-14 11:00 dhx Fixed in Version 1.2.3 =>
2010-12-14 21:05 jreese Target Version 1.2.4 => 1.2.5
2010-12-25 04:11 dhx Changeset attached => MantisBT master b565be1b
2010-12-25 04:11 dhx Changeset attached => MantisBT master-1.2.x 095311d0
2010-12-25 04:11 dhx Fixed in Version => 1.2.5
2010-12-25 04:12 dhx Note Added: 0027698
2010-12-25 04:12 dhx Status assigned => resolved
2011-04-05 14:23 jreese Status resolved => closed


MantisBT 1.2.16dev master-1.2.x-8c2bd07 [^]
Copyright © 2000 - 2013 MantisBT Team
Time: 0.0834 seconds.
memory usage: 2,840 KB
Powered by Mantis Bugtracker