Bug 188803 The interval of datetime type level dosen't work[1102]
Description: The interval of datetime type level dosen't work[1102] Build number: 2.2.0.v20070524-0630 Steps to reproduce: 1, New a cube with datetime type levels 2, Specify the interval such as 2 on month level 3, New a crosstab using the cube 4, Preview Expected result: The month is group based on 2 interval Actual result: No effect after specify the interval of month Error log:
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetIterator.java
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( level.getName( ), true, processor );
					temp.setDataType( type );
				}
				metaList.add( temp );
				Iterator it = level.attributesIterator( );
				while ( it.hasNext( ) )
				{
					LevelAttributeHandle levelAttr = (LevelAttributeHandle) it.next( );
					ColumnMeta meta = new ColumnMeta( OlapExpressionUtil.getAttributeColumnName( level.getName( ),
							levelAttr.getName( ) ),
							false,
							null );
					meta.setDataType( DataAdapterUtil.adaptModelDataType( levelAttr.getDataType( ) ) );
					metaList.add( meta );
					query.addBinding( new Binding( meta.getName( ),
							new ScriptExpression( ExpressionUtil.createJSDataSetRowExpression( levelAttr.getName( ) ) ) ) );
				}
				
				if( level.getDisplayColumnName( )!= null )
				{
					ColumnMeta meta = new ColumnMeta( OlapExpressionUtil.getDisplayColumnName( level.getName( )),