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
|| !oldElement.isTemplateParameterValue( module )
					|| !newElement.getDefn( ).isKindOf(
							( (TemplateElement) oldElement ).getDefaultElement(
									module ).getDefn( ) ) )
				throw new TemplateException(
						oldElement,
						TemplateException.DESIGN_EXCEPTION_REVERT_TO_TEMPLATE_FORBIDDEN );
		}
		else
		{
			if ( !oldElement.canTransformToTemplate( module )
					|| !( newElement instanceof TemplateElement ) )
				throw ContentExceptionFactory
						.createContentException(
								focus,
								ContentException.DESIGN_EXCEPTION_TEMPLATE_TRANSFORM_FORBIDDEN );
		}
		
		
		if ( hasDescendents( oldElement ) )
		{
			throw ContentExceptionFactory.createContentException(
					new ContainerContext( oldElement, focus.getSlotID( ) ),
					ContentException.DESIGN_EXCEPTION_HAS_DESCENDENTS );
		}
		
		ContentReplaceRecord replaceRecord = new TemplateTransformRecord(
				module, focus, oldElement, newElement );
		ActivityStack stack = getActivityStack( );
		stack.startFilterEventTrans( replaceRecord.getLabel( ) );