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
}
	
	static public void readV2( TOCTreeNode node, DataInputStream input ) throws IOException
	{
		String nodeId = IOUtil.readString( input );
		String displayString = IOUtil.readString( input );
		String bookmark = IOUtil.readString( input );
		String hiddenFormats = IOUtil.readString( input );
		boolean isGroupRoot = IOUtil.readBool( input );
		Object tocValue = IOUtil.readObject( input );
		long elementId = IOUtil.readLong( input );
		node.setNodeID( nodeId );
		node.setDisplayString( displayString );
		node.setBookmark( bookmark );
		node.setHideFormats( hiddenFormats );
		node.setIsGroupRoot( isGroupRoot );
		node.setTOCValue( tocValue );
		node.setElementId( elementId );
		int size = IOUtil.readInt( input );
		for ( int i = 0; i < size; i++ )
		{
			TOCTreeNode child = new TOCTreeNode( );
			readV2( child, input );
			child.setParent( node );
			node.getChildren( ).add( child );
		}
	}	
	
}