Project: Birt
Bug 167527 Label text does not display correctly [0302]
Reported: 2006-12-11 23:01:49 | Status: closed fixed

Description: Label text does not display correctly. Build number: 2.2.0.v20061211-0630 Steps to reproduce: 1. Insert a label item. 2. Define highlight rule for it, choose font color red. 3. Input this.text=this.getHighlightRules()[0].color in onPrepare method of label item. 4. Preview Expected result: The label should display "red". Actual result: The label display "16711680". Error log: N/A

Files changed in fix:
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/element/IAutoText.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/element/ICell.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/element/IGroup.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/element/IRow.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/AutoText.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/Cell.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/DataBindingImpl.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/FilterConditionImpl.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/Group.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/HideRuleImpl.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/HighlightRuleImpl.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/ReportItem.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/Row.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/SortConditionImpl.java