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
cellAdapt.setColumnSpan( 1 );
		transEnd( );
	}
	private int getIndexofParent( CellHandle cellHandle )
	{
		CellHandleAdapter cellAdapt = HandleAdapterFactory.getInstance( )
				.getCellHandleAdapter( cellHandle );
		TableHandleAdapter.RowUIInfomation info = getRowInfo( cellHandle.getContainer( ) );
		List list = info.getAllChildren( );
		int index = list.indexOf( cellHandle );
		List temp = new ArrayList( );
		int number = 0;
		for ( int j = 0; j < index; j++ )
		{
			CellHandleAdapter childCellAdapt = HandleAdapterFactory.getInstance( )
					.getCellHandleAdapter( list.get( j ) );
			if ( childCellAdapt.getRowNumber( ) == cellAdapt.getRowNumber( )
					&& !temp.contains( list.get( j ) ) )
			{
				number = number + 1;
			}
			temp.add( list.get( j ) );
		}
		return number;
	}
	/**
	 * Gets the cell handle copy to support row/column insert.
	 * 
	 * @param cellHandle
	 * @return