Bug 118750 Insert group for table from library, system throws exception.
Insert group for table from library, system throws exception. Steps: 1.Insert a tabel from library 2.Insert group Actual Results: 1.System throws exception A Birt exception occurred. Plug-in Provider:Eclipse.org Plug-in Name:BIRT Model Plug-in ID:org.eclipse.birt.report.model Version:1.0.1 Error Code:Error.ContentException.STRUCTURE_CHANGE_FORBIDDEN Error Message:Element "report.Body[1]" is child element or a virtual element( inside the child ), can not change its structure. Expected Results: 1.Can be inserted group
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/model/schematic/TableHandleAdapter.java
Assert.isLegal( rowNumber != 0 );
		int realRowNumber = rowNumber > 0 ? parentRowNumber + rowNumber
				: parentRowNumber + rowNumber + 1;
		int shiftPos = rowNumber > 0 ? rowNumber : rowNumber + 1;
		RowHandle row = (RowHandle) getRow( parentRowNumber );
		RowHandleAdapter adapt = HandleAdapterFactory.getInstance( )
				.getRowHandleAdapter( row );
		RowHandle copy = (RowHandle) adapt.copy( );
		TableHandleAdapter.RowUIInfomation rowInfo = getRowInfo( row );
		List rowList = rowInfo.getAllChildren( );
		int rowSize = rowList.size( );
		for ( int i = 0; i < rowSize; i++ )
		{
			CellHandle parentCell = (CellHandle) rowList.get( i );
			CellHandle cell = getCellHandleCopy( parentCell );
			copy.getSlot( RowHandle.CONTENT_SLOT ).add( cell );
		}
		SlotHandle parentHandle = row.getContainerSlotHandle( );
		parentHandle.add( ( copy ) );
		int pos = parentHandle.findPosn( row );
		parentHandle.shift( copy, pos + shiftPos );
		RowHandleAdapter copyAdapt = HandleAdapterFactory.getInstance( )
				.getRowHandleAdapter( copy );
		List copyChildren = copyAdapt.getChildren( );
		TableHandleAdapter.RowUIInfomation info = getRowInfo( copy );
		List list = info.getAllChildren( );
		List temp = new ArrayList( );
		int size = list.size( );
		List hasAdjust = new ArrayList( );
		for ( int i = 0; i < size; i++ )