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
Label B = new Label( );
		B.getHandle( design ).setName( "B" );
		Label C = new Label( );
		C.getHandle( design ).setName( "C" );
		Style style = new Style( );
		style.getHandle( design ).setName( "style" );
		A.setExtendsElement( B );
		C.setExtendsElement( A );
		A.setStyle( style );
		
		assertEquals( A, containerHandle.get( 0 ) );
		assertEquals( B, A.getExtendsElement( ) );
		assertEquals( C, A.getDerived( ).get( 0 ) );
		assertEquals( A, C.getExtendsElement( ) );
		assertEquals( style, A.getStyle( ) );
		try
		{
			containerHandle.dropAndClear( A.getHandle( design ) );
			fail( );
		}
		catch ( Exception e )
		{
		}
		
		assertEquals( A, C.getExtendsElement( ) );
		assertEquals( A, B.getDerived( ).get( 0 ) );
		assertEquals( 1, style.getClientList( ).size( ) );
		assertNotNull( A.getStyle( ) );
		assertNotNull( A.getExtendsElement( ) );
	}