Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346036

Summary: The exported excel miss some infomation in the report
Product: z_Archived Reporter: Hai Feng Luo <haifengl>
Component: BIRTAssignee: Birt-ReportEngine-inbox <Birt-ReportEngine-inbox>
Status: RESOLVED FIXED QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier, haifengl, jouyang
Version: unspecified   
Target Milestone: 3.7.0 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
The sample file for reproduce the issue none

Description Hai Feng Luo CLA 2011-05-17 03:07:44 EDT
Build Identifier: 2.5.2.v20100208 Build;2.5.2.v20100210-0630

If I exported my report into an excel, I found there are some infos are lost.
The lost item in the report design file is exactly after a dynamic text item, which only cotains some simple if..else javascripts, and in a condition the javascripts will return empty string "" or null. 
1, If "" or null or just a blank space is returned, the item after this dynamic text will be lost in the exported excel.
2, If the javascripts returns some strings like "good", there is not lose in excel.


Reproducible: Always

Steps to Reproduce:
1.Put my sample file in birt 252 dev env, open it.
2.Preview this report.
3.export this report into an excel.
4, by compparing to the report itself, you could see that the string "this is the text" is lost, but the exported word file is correct.
Comment 1 Hai Feng Luo CLA 2011-05-17 03:08:39 EDT
If the item after the dynamic text item is a label, or a grid, the same issue occurs.
Comment 2 Hai Feng Luo CLA 2011-05-17 03:10:49 EDT
Created attachment 195812 [details]
The sample file for reproduce the issue

The sample file for reproduce the issue, which is a simple sample as our product.
Comment 3 Jun Ouyang CLA 2011-05-19 04:43:37 EDT
Update row index of non-cell container if empty data is added into the container.