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/src/org/eclipse/birt/report/model/command/ContentCommand.java
public void transformTemplate( DesignElement from, DesignElement to,
			boolean unresolveReference ) throws SemanticException
	{
		doReplace( from, to, unresolveReference );
	}
	/**
	 * @see #transformTemplate(DesignElement, DesignElement, int, boolean)
	 * 
	 * @param oldElement
	 *            the old element to replace
	 * @param newElement
	 *            the new element to replace
	 * @param slotID
	 *            the slot from which to replace the old element
	 * @param unresolveReference
	 *            status whether to un-resolve the references or set the
	 *            reference to null
	 * @throws SemanticException
	 *             if the old element cannot be replaced by the new element into
	 *             this container.
	 */
	private void doReplace( DesignElement oldElement, DesignElement newElement,
			boolean unresolveReference ) throws SemanticException
	{
		this.unresolveReference = unresolveReference;
		assert newElement.getContainer( ) == null;
		
		ElementDefn metaData = (ElementDefn) element.getDefn( );
		if ( !metaData.isContainer( ) )
			throw ContentExceptionFactory.createContentException( focus,