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
/**
	 * Unit test to test after delete an element, whether references on the
	 * deleted contented were adjusted correctly.
	 * 
	 * Test case:
	 * 
	 * <ul>
	 * <li>Add A into container.
	 * <li>Set A extends from B, Set C extends from A.
	 * <li>Set A has style.
	 * <li>Add A into container.
	 * <li>Remove A from the container.
	 * <li>Check the extends reference and style reference on A.
	 * </ul>
	 * 
	 * <p>
	 * The expected result: C extends from B. Parent reference and style
	 * reference on A are broken.
	 * 
	 * @throws Exception
	 */
	public void testReferencAfterDeletion( ) throws Exception
	{
		Label A = new Label( );
		A.setName( "A" ); 
		
		SlotHandle containerHandle = designHandle.getComponents( );
		assertNotNull( containerHandle );
		
		containerHandle.add( A.getHandle( design ) );