[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[birt-dev] CheckIn: fix bugzilla bug 148757--Chart filter expression is invalid, preview, system throws exception
|
Title: CheckIn: fix bugzilla bug 148757--Chart filter _expression_ is invalid, preview, system throws exception
Summary
Bugzilla Bug (s) Resolved:
148757--Chart filter _expression_ is invalid, preview, system throws exception
Description:
Chart returns NULL for empty result set. For that kind of chart, engine doesn't return the image content as usual (as the chart doesn't return the image date), it returns the foreign content directly. HTML skips this kind of foreign content as it doesn't know how to handle it. PDF assume that the foreign content must be one of the HTML or plain text, so it converts it to plain text directly. That causes the ClassCastException.
The fix is first detects if the foreign content is HTML or plain text, if not, it will be treated as an empty label.
Test Description:
Manual Test
Files Edited:
"/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFLayoutManagerFactory.java"
Notes to Build Team:
Notes to Developers:
Notes to QA:
Quotes to Documentation: