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/DataRequestSessionImpl.java
* @throws IOException
	 * @throws BirtException
	 * @throws DataException
	 */
	private void createCube( TabularCubeHandle cubeHandle,
			CubeMaterializer cubeMaterializer ) throws IOException,
			BirtException, DataException
	{
		List measureNames = new ArrayList( );
		List measureGroups = cubeHandle.getContents( CubeHandle.MEASURE_GROUPS_PROP );
		for ( int i = 0; i < measureGroups.size( ); i++ )
		{
			MeasureGroupHandle mgh = (MeasureGroupHandle) measureGroups.get( i );
			List measures = mgh.getContents( MeasureGroupHandle.MEASURES_PROP );
			for ( int j = 0; j < measures.size( ); j++ )
			{
				MeasureHandle measure = (MeasureHandle) measures.get( j );
				measureNames.add( measure.getName( ) );
			}
		}
		IDimension[] dimensions = populateDimensions( cubeMaterializer, cubeHandle );
		String[][] keyColumnNames = new String[dimensions.length][];
		for ( int i = 0; i < dimensions.length; i++ )
		{
			TabularDimensionHandle dim = (TabularDimensionHandle) cubeHandle.getDimension( dimensions[i].getName( ) );
			TabularHierarchyHandle hier = (TabularHierarchyHandle) dim.getDefaultHierarchy( );
			if ( cubeHandle.getDataSet( ).equals( hier.getDataSet( ) ) )
			{
				keyColumnNames[i] = dimensions[i].getHierarchy( ).getLevels( )[dimensions[i].getHierarchy( )
						.getLevels( ).length - 1].getKeyNames( );