Bug 194843 Cross tab Cube - Cannot delete a dimension using the cube builder
- Open the attached report design - Delete the "Region" group. Current behavior - Does now allow me to delete the group.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/command/ContentCommandTest.java
openDesign( "ContentCommandTest.xml" ); 
		ExtendedItemHandle outExtendedItem = (ExtendedItemHandle) designHandle
				.findElement( "testBox" ); 
		ExtendedItemHandle innerExtendedItem = (ExtendedItemHandle) designHandle
				.findElement( "detailBox" ); 
		TableHandle innerTable = (TableHandle) designHandle
				.findElement( "testTable" ); 
		
		CommandStack stack = designHandle.getCommandStack( );
		outExtendedItem.drop( );
		assertNull( outExtendedItem.getContainer( ) );
		assertNull( innerTable.getContainer( ) );
		assertNull( innerExtendedItem.getContainer( ) );
		assertNull( designHandle.findElement( outExtendedItem.getName( ) ) );
		assertNull( designHandle.findElement( innerTable.getName( ) ) );
		assertNull( designHandle.findElement( innerExtendedItem.getName( ) ) );
		assertNull( designHandle.getElementByID( outExtendedItem.getID( ) ) );
		assertNull( designHandle.getElementByID( innerTable.getID( ) ) );
		assertNull( designHandle.getElementByID( innerExtendedItem.getID( ) ) );
		
		stack.undo( );
		assertNotNull( outExtendedItem.getContainer( ) );
		assertNotNull( innerTable.getContainer( ) );
		assertNotNull( innerExtendedItem.getContainer( ) );
		assertEquals( outExtendedItem, designHandle
				.findElement( outExtendedItem.getName( ) ) );
		assertEquals( innerTable, designHandle.findElement( innerTable
				.getName( ) ) );
		assertEquals( innerExtendedItem, designHandle
				.findElement( innerExtendedItem.getName( ) ) );