Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350278 - Excel emitter generates corrupt files
Summary: Excel emitter generates corrupt files
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.2   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 3.7.0   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard: Non-Auto
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-24 10:46 EDT by Thierry Thierry CLA
Modified: 2011-06-27 03:54 EDT (History)
1 user (show)

See Also:


Attachments
report (68.92 KB, application/octet-stream)
2011-06-24 10:46 EDT, Thierry Thierry CLA
no flags Details
css styles (3.97 KB, text/css)
2011-06-24 10:47 EDT, Thierry Thierry CLA
no flags Details
data source (150.58 KB, text/xml)
2011-06-24 10:48 EDT, Thierry Thierry CLA
no flags Details
corrupt excel file (68.56 KB, application/vnd.ms-excel)
2011-06-24 10:49 EDT, Thierry Thierry CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thierry CLA 2011-06-24 10:46:55 EDT
Created attachment 198540 [details]
report

The report engine generates corrupt excel files when a grid item has no data to display (the data set bound to this grid retrieves no data).

Step to reproduce :
1. generate an xls file (through the report engine) using the sample.xml, test.css and test.rptdesign attached to this bug report.
NB : in test.rptdesign, the xml data source path is set to c:/sample.xml and the css file is set to c:/test.css
2. try to open the generated xls file using Office 2007
Comment 1 Thierry Thierry CLA 2011-06-24 10:47:25 EDT
Created attachment 198541 [details]
css styles
Comment 2 Thierry Thierry CLA 2011-06-24 10:48:17 EDT
Created attachment 198542 [details]
data source
Comment 3 Thierry Thierry CLA 2011-06-24 10:49:32 EDT
Created attachment 198543 [details]
corrupt excel file
Comment 4 Xiaoying Gu CLA 2011-06-27 03:53:56 EDT
This issue did exist in the 2.6.2 release.

But I can not reproduce it in the latest 3.7.0 release. Set as fixed.