Project: Birt
Bug 226647 Chart title can not be set as "value = 0".
Reported: 2008-04-11 05:11:45 | Status: closed fixed

description: Chart title can not be set as "value = 0". build id: 2.3.0 v20080411-0630 steps to reproduce: 1. New a chart. 2. Set the title as "value = 0" (without the double quotation marks) 3. Double click the chart builder. 4. Preview the chart. Expected result: in step 3, the chart title text box shows "value = 0". in step 4, the chart title is previewed as "value = 0". Actual result: in step 3, the chart title text box shows "value". The live preview also shows "value". in step 4, the chart title is previewed as "0".

Files changed in fix:
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/LabelBlockImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/TitleBlockImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/BaseRenderer.java chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/ExternalizedTextEditorComposite.java chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/ExternalizedTextEditorDialog.java