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
for ( int i = 0; i < visibility.count( ); i++ )
			{
				VisibilityRuleDesign rule = visibility.getRule( i );
				String expr = rule.getExpression( );
				Object result = null;
				if ( expr != null )
				{
					result = evaluate( expr );
				}
				if ( result == null || !( result instanceof Boolean ) )
				{
					context
							.addException(
									this.getDesign( ),
									new EngineException(
											"The following visibility expression does not evaluate to a legal boolean value: {0}", 
											rule.getExpression( ) ) );
					continue;
				}
				boolean isHidden = ( (Boolean) result ).booleanValue( );
				
				
				if ( !isHidden )
				{
					continue;
				}
				
				buffer.append( rule.getFormat( ) );
				buffer.append( "," ); 
			}