Bug 180838 If the cube is invalid, we should show a warning to user[1101]
Description: The result of measure are incorrect[1102] Build number: 2.2.0.v20070404-0630 Steps to reproduce: Using the attached report, I think the expected result is China 20 female Uk ... China 28 male USA ... But the result is China 48 female Uk ... male USA ... And we calculate the China of female and male in one measure of female.I think it is incorrect.
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/olap/data/impl/dimension/DimensionTest2.java
assertEquals( dimension.isTime( ), true );
		IHierarchy hierarchy = dimension.getHierarchy( );
		assertEquals( hierarchy.getName( ), "student" );
		ILevel[] level = hierarchy.getLevels( );
		assertEquals( level[0].getName( ), "l1" );
		assertEquals( level[1].getName( ), "l2" );
		assertEquals( level[2].getName( ), "l3" );
		return (Dimension) dimension;
	}
	
	private Dimension createDimension2(IDocumentManager documentManager)
			throws IOException, BirtException 
	{
		ILevelDefn[] levelDefs = new ILevelDefn[3];
		levelDefs[0] = new LevelDefinition("l1", new String[] { "l1" }, null);
		levelDefs[1] = new LevelDefinition("l2", new String[] { "l2" }, null);
		levelDefs[2] = new LevelDefinition("l3", new String[] { "l3" }, null);
		IDimension dimension = DimensionFactory.createDimension("dataset2",
				documentManager, new Dataset2(), levelDefs, true);
		assertEquals(dimension.isTime(), true);
		IHierarchy hierarchy = dimension.getHierarchy();
		assertEquals(hierarchy.getName(), "dataset2");
		ILevel[] level = hierarchy.getLevels();
		assertEquals(level[0].getName(), "l1");
		assertEquals(level[1].getName(), "l2");
		assertEquals(level[2].getName(), "l3");
		return (Dimension) dimension;
	}
}
class Dataset1 implements IDatasetIterator