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

Bug 314485

Summary: missing "style" tag in report xml code causes charts to be blank (preview and final display)
Product: z_Archived Reporter: Nicolas Vives <nicolas.vives-ext>
Component: BIRTAssignee: Birt-Chart-inbox <Birt-Chart-inbox>
Status: CLOSED INVALID QA Contact:
Severity: minor    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Nicolas Vives CLA 2010-05-26 11:06:43 EDT
Build Identifier: M20090917-0800

Reports usualy contain default "style" tags in their xml code. One of them is about the report, its code in the default templates usually is :

<style name="report" id="4">
      <property name="fontFamily">sans-serif</property>
      <property name="fontSize">10pt</property>
</style>

If you remove this tag, then you won't be able to create charts : the preview will be displayed as blank, and even if you set it anyway, the final result will be blank.

Reproducible: Always

Steps to Reproduce:
1. Create a blank report
2. Try to create a chart, you should see the preview as soon as you select a chart type (you don't need to create it).
3. Go in the report xml code and remove the tag "<style name="report" ...>...</style>"
4. Try to create a chart again, the preview should remain blank, whatever you do.
Comment 1 Nicolas Vives CLA 2010-05-26 11:18:42 EDT
Problem specific to internal workspace, I was unable to reproduce the bug in a neutral environment (a test project).