Project: Birt
Bug 210510 The filter's select value from String type dimension should be quoted[1102]
Reported: 2007-11-21 04:39:08 | Status: closed fixed

Description: The select value from String type dimension should be quoted, we should judge the data type from the binding of crosstab, currently we may judge the type from the dimension in cube builder. Build number: 2.3.0.v20071121-0800 Steps to reproduce: 1, New a cube with Integer type dimension 2, New a crosstab using the cube 3, Change the Integer type dimension's binding to String type 4, New a filter on that dimension and select value Expected result: The selected value should be quoted such as "11001" Actual result: The select value is without quotes. Error log:

Files changed in fix:
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/CubeQueryUtil.java