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/DataRequestSessionImpl.java
levelInHier = new ILevelDefn[hierhandle.getLevelCount( )+1];
			String[] leafLevelKeyColumn = new String[levels.size( )];
			for ( int k = 0; k < levels.size( ); k++ )
			{
				TabularLevelHandle level = (TabularLevelHandle) levels.get( k );
				List levelKeys = new ArrayList();
				Iterator it = level.attributesIterator( );
				while( it.hasNext( ) )
				{
					LevelAttributeHandle levelAttr = (LevelAttributeHandle)it.next( );
					levelKeys.add( OlapExpressionUtil.getAttributeColumnName( level.getName( ),
							levelAttr.getName( ) ) );
				}
				if ( level.getDisplayColumnName( ) != null )
				{
					levelKeys.add( OlapExpressionUtil.getDisplayColumnName( level.getName( ) ) );
				}
				leafLevelKeyColumn[k] = level.getName( );
				
				levelInHier[k] = CubeElementFactory.createLevelDefinition( level.getName( ),
						new String[]{
							level.getName( )
						},
						this.toStringArray( levelKeys ) );
			}
			
			createLeafLevel( levels, levelInHier, leafLevelKeyColumn );
		
			iHiers.add( cubeMaterializer.createHierarchy( dim.getName( ), hierhandle.getName( ),
					new DataSetIterator( this, hierhandle, appContext ),