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
CascadingParameterGroupHandle cascadingGroupHandle = (CascadingParameterGroupHandle) cacascadingGroup
				.getHandle( design );
		designHandle.getParameters( ).add( cascadingGroupHandle );
		IDesignElement clonedCas = cascadingGroupHandle.copy( );
		CascadingParameterGroupHandle clonedCasHandle = (CascadingParameterGroupHandle) clonedCas
				.getHandle( design );
		designHandle.rename( clonedCasHandle );
		designHandle.getParameters( ).paste( clonedCasHandle );
		NameSpace ns = design.getNameHelper( ).getNameSpace(
				Module.PARAMETER_NAME_SPACE );
		assertEquals( "param11", clonedCasHandle.getParameters( ).get( 0 ) 
				.getName( ) );
		assertEquals( "param21", clonedCasHandle.getParameters( ).get( 1 ) 
				.getName( ) );
		assertTrue( ns.contains( clonedCasHandle.getParameters( ).get( 0 )
				.getName( ) ) );
		assertTrue( ns.contains( clonedCasHandle.getParameters( ).get( 1 )
				.getName( ) ) );
		clonedCas = cascadingGroupHandle.copy( );
		clonedCasHandle = (CascadingParameterGroupHandle) clonedCas
				.getHandle( design );
		designHandle.rename( clonedCasHandle );
		designHandle.getParameters( ).paste( clonedCasHandle );
		ns = design.getNameHelper( ).getNameSpace( Module.PARAMETER_NAME_SPACE );
		assertEquals( "param12", clonedCasHandle.getParameters( ).get( 0 ) 
				.getName( ) );
		assertEquals( "param22", clonedCasHandle.getParameters( ).get( 1 ) 
				.getName( ) );
		assertTrue( ns.contains( clonedCasHandle.getParameters( ).get( 0 )
				.getName( ) ) );