Bug 189830 The filter of cube take no effect on the attribute of level[1101]
Description: The filter of cube take no effect on the attribute of level[1101] Build number: 2.2.0.v20070530-0630 Steps to reproduce: 1, Set the filter on cube such as: dataSetRow["CUSTOMERNUMBER"] between 103 and 200 2, Set the CUSTOMERNUMBER as a level's attribute 3, Set the attribute binding on crosstab 4, Preview Expected result: The attribute can be also filtered Actual result: The filter take no effect Error log:
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetIterator.java
{
						Iterator it = level.staticValuesIterator( );
						List dispExpr = new ArrayList( );
						List filterExpr = new ArrayList( );
						while ( it.hasNext( ) )
						{
							RuleHandle o = (RuleHandle) it.next( );
							dispExpr.add( o.getDisplayExpression( ) );
							filterExpr.add( o.getRuleExpression( ) );
						}
						
						exprString = "";
						for ( int i = 0; i < dispExpr.size( ); i++ )
						{
							String disp = "\""
									+ JavascriptEvalUtil.transformToJsConstants( String.valueOf( dispExpr.get( i ) ) )
									+ "\"";
							String filter = String.valueOf( filterExpr.get( i ) );
							exprString += "if(" + filter + ")" + disp + ";";
						}
					}
					temp = new ColumnMeta( createLevelName( dimName, level.getName( )),
							processor,
							ColumnMeta.LEVEL_KEY_TYPE );
					temp.setDataType( type );
				}
				
				metaList.add( temp );
				Iterator it = level.attributesIterator( );
				while ( it.hasNext( ) )