Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346036 - The exported excel miss some infomation in the report
Summary: The exported excel miss some infomation in the report
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7.0 RC2   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-17 03:07 EDT by Hai Feng Luo CLA
Modified: 2011-05-19 04:56 EDT (History)
3 users (show)

See Also:


Attachments
The sample file for reproduce the issue (3.01 KB, application/octet-stream)
2011-05-17 03:10 EDT, Hai Feng Luo CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.