Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314485 - missing "style" tag in report xml code causes charts to be blank (preview and final display)
Summary: missing "style" tag in report xml code causes charts to be blank (preview and...
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Birt-Chart-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 11:06 EDT by Nicolas Vives CLA
Modified: 2010-05-26 11:18 EDT (History)
0 users

See Also:


Attachments

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