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
}
		InstanceID id = getInstanceID( );
		content.setInstanceID( id );
		content.setGenerateBy( design );
	}
	
	TOCEntry getParentTOCEntry()
	{
		if (parent instanceof ReportItemExecutor)
		{
			ReportItemExecutor parentExecutor = (ReportItemExecutor)parent;
			if (parentExecutor.tocEntry != null)
			{
				return parentExecutor.tocEntry;
			}
			return parentExecutor.getParentTOCEntry();
		}
		return null;
	}
	/**
	 * starts 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 startTOCEntry( IContent content )
	{
		TOCBuilder tocBuilder = context.getTOCBuilder( );
		if ( tocBuilder != null )