Bug 197765 Static level display will be affected by display field in dynamic[1101]
Description: Static level display will be affected by display field set previously in dynamic Build number:2.2.1.v20070725 Steps to reproduce: 1. Open attached report. (In the report. CUSTOMERNUMBER level in cube is dynamic level at first and I set CUSTOMERNAME as display field, then I change it to static. 2. Preview. Expected result: Display static level in column area with the specified value in static level definition. Actual result: Display static level with CUSTOMAME value. Error log:n/a
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetIterator.java
/**
	 * 
	 * @param query
	 * @param resultMetaList
	 * @param levelNameColumnNamePair
	 * @param hierHandle
	 * @throws AdapterException
	 */
	private void prepareLevels( QueryDefinition query,
			TabularHierarchyHandle hierHandle, List metaList, String dimName )
			throws AdapterException
	{
		try
		{
			
			List levels = hierHandle.getContents( TabularHierarchyHandle.LEVELS_PROP );
			for ( int j = 0; j < levels.size( ); j++ )
			{
				TabularLevelHandle level = (TabularLevelHandle) levels.get( j );
				ColumnMeta temp = null;
				String exprString = ExpressionUtil.createJSDataSetRowExpression( level.getColumnName( ) );
				int type = DataAdapterUtil.adaptModelDataType( level.getDataType( ) );
				if ( type == DataType.UNKNOWN_TYPE || type == DataType.ANY_TYPE )
					type = DataType.STRING_TYPE;
				if ( level.getDateTimeLevelType( ) != null )
				{
					temp = new ColumnMeta( createLevelName( dimName, level.getName( )),
							new DataProcessorWrapper( GroupCalculatorFactory.getGroupCalculator( IGroupDefinition.NUMERIC_INTERVAL,
									DataType.INTEGER_TYPE,