Bug 182656 The result is incorrect when a level has two parents[07][1101]
Description: The result is incorrect when a level has two parents[07][1101] Build number: 2.2.0.v20070417-0630 Steps to reproduce: -If the bottom level has two parents , we will considered that a invalid fact table. But now the fact table can get the result, and the result is incorrect.
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetIterator.java
Iterator it = level.attributesIterator( );
			while ( it.hasNext( ) )
			{
				LevelAttributeHandle levelAttr = (LevelAttributeHandle) it.next( );
				ColumnMeta meta = new ColumnMeta( level.getName( )
						+ "/" + levelAttr.getName( ) );
				meta.setDataType( ModelAdapter.adaptModelDataType( levelAttr.getDataType( ) ) );
				query.addResultSetExpression( meta.getName( ),
						new ScriptExpression( ExpressionUtil.createJSDataSetRowExpression( levelAttr.getName( ) ) ) );
				resultMetaList.add( meta );
			}
			
			query.addResultSetExpression( level.getName( ),
					new ScriptExpression( ExpressionUtil.createJSDataSetRowExpression( level.getColumnName( ) ) ) );
			
			
			if ( j == levels.size( ) - 1 )
			{
				GroupDefinition gd = new GroupDefinition( );
				gd.setKeyExpression( ExpressionUtil.createJSRowExpression( level.getName( ) ) );
				query.addGroup( gd );
			}
		}
	}
	/*
	 * (non-Javadoc)
	 * @see org.eclipse.birt.data.engine.olap.api.cube.IDatasetIterator#close()
	 */
	public void close( ) throws BirtException
	{