Bug 214065 [Regression]Group TOC are created automatically when preview in Web viewer and PDF
Description: [Regression]Group TOC are created automatically when preview in Web viewer and PDF Build number: 2.3.0.v200701012-1021 Steps to reproduce: 1, New a table binding with dataset 2, New a group on table and do not specify the group toc 3, Preview in Web viewer and PDF Expected result: No default TOC of group Actual result: Some empty group toc created automatically in preview Error log:
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ReportItemExecutor.java
}
			}
		}
	}
	/**
	 * finishes a TOC entry, mostly used for non-leaf TOC entry, which can not
	 * be closed until its children have been written.
	 * 
	 * @param content
	 *            report item content object
	 */
	protected void finishTOCEntry( )
	{
		TOCBuilder tocBuilder = context.getTOCBuilder( );
		if ( tocBuilder != null )
		{
			if (tocEntry != null)
			{
				tocBuilder.closeEntry( tocEntry );
			}
		}
	}
	protected void startGroupTOCEntry( IGroupContent group )
	{
		TOCBuilder tocBuilder = context.getTOCBuilder( );
		if ( tocBuilder != null )
		{
			TOCEntry entry = getParentTOCEntry();
			String hiddenFormats = group.getStyle( ).getVisibleFormat( );
			long elementId = getElementId( );