Bug 190440 Dimensions from same column will affact each other.[1101]
Description: Dimensions from same column will affact each other. Build number:2.2.0.v200706011658 Steps to reproduce: 1. Open attached report. The cube in the report contains "static amount" and "interval amount". 2. Preview the report. 3. Delete interval amount group and preview again. Expected result: Step2 and step 3 display same effect. Actual result: In step2 preview, xtab display effect of "interval amount" level value instead of "static amount" level value. Error log:N/A
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/AggregationExecutor.java
aggregationRow.getMeasures()[j] = facttableRowIterator.getMeasure( j );
				}
				aggregationRow.setParameterValues( aggregationRowPopulator.getParameterValues( ) );
				diskSortedStackWrapper.diskSortedStack.push( aggregationRow );
			}
		}
	}
	/**
	 * 
	 *
	 */
	private void prepareSortedStacks( )
	{
		allSortedFactRows = new ArrayList( );
		while ( true )
		{
			int maxLevelCount = 0;
			int aggregationIndex = -1;
			int[] levelSortType = null;
			for ( int i = 0; i < aggregationCalculators.length; i++ )
			{
				if ( sortedFactRows[i] == null &&
						( ( aggregationCalculators[i].aggregation.getLevels( ) != null 
							&& aggregationCalculators[i].aggregation.getLevels( ).length > maxLevelCount ) 
								|| aggregationCalculators[i].aggregation.getLevels( ) == null ) )
				{
					aggregationIndex = i;
					maxLevelCount = levelIndex[i].length;
					levelSortType = aggregationCalculators[i].aggregation.getSortTypes( );
				}