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
}
	/**
	 * Some cells might not be relevant, because overriden by column span/row
	 * span of other cells Example in a three columns table: <row><cell>
	 * <property name="colSpan">3 </property> <property name="rowSpan">1
	 * </property> <cell><cell/><cell/><row>
	 * 
	 * The last two cells are phantom, the layout cannot handle them so we
	 * remove them at that stage. Ideally the model should not return those
	 * cells.
	 * 
	 * @param children
	 */
	protected void removePhantomCells( List children )
	{
		ArrayList phantomCells = new ArrayList( );
		for ( Iterator iter = children.iterator( ); iter.hasNext( ); )
		{
			Object cell = iter.next( );
			CellHandleAdapter cellAdapt = HandleAdapterFactory.getInstance( )
					.getCellHandleAdapter( cell );
			if ( cellAdapt.getRowNumber( ) == 0
					|| cellAdapt.getColumnNumber( ) == 0 )
			{
				phantomCells.add( cell );
			}
		}
		for ( Iterator iter = phantomCells.iterator( ); iter.hasNext( ); )
		{
			children.remove( iter.next( ) );