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/toc/TOCBuilder.java
else
		{
			node.setTOCValue( tocValue );
		}
		node.setElementId( elementId );
		parentNode.getChildren( ).add( node );
		TOCEntry entry = new TOCEntry( parent, parent.getRoot( ), node );
		entry.setHideFormats( formats );
		return entry;
	}
	public TOCEntry startEntry( TOCEntry parent, Object tocValue, String bookmark, long elementId )
	{
		return startEntry( parent, tocValue, bookmark, null, elementId );
	}
	public TOCEntry startDummyEntry( TOCEntry parent, String hiddenFormats )
	{
		if ( parent == null )
		{
			parent = rootEntry;
		}
		TOCEntry entry = new TOCEntry( parent, parent.getRoot( ), parent
				.getNode( ) );
		entry.setHideFormats( mergeHideFormats( parent, hiddenFormats ) );
		return entry;
	}
	public TOCEntry createEntry( TOCEntry parent, Object tocValue, String bookmark, long elementId )
	{
		TOCEntry entry = startEntry( parent, tocValue, bookmark, null, elementId );
		closeEntry( entry );
		return entry;