Bug 191410 [Regression] Can not new a report from predefined dual column chart & listing template [00]
Description: Can not new a report from predefined dual column chart & listing template. Build number: 2.2.0.v20070607-0630 Steps to reproduce: 1. New a report from predefined dual column chart & listing template. Expected result: The report can be created. Actual result: XML Source page shows up after click finish. Error log: N/A
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/TemplateElementParserTest.java
.getException( );
			assertEquals(
					DesignParserException.DESIGN_EXCEPTION_MISSING_TEMPLATE_PARAMETER_DEFAULT,
					cause.getErrorCode( ) );
			assertTrue( e.getExceptionList( ).get( 1 ) instanceof XMLParserException );
			exception = (XMLParserException) e.getExceptionList( ).get( 1 );
			assertTrue( exception.getException( ) instanceof DesignParserException );
			cause = (DesignParserException) exception.getException( );
			assertEquals(
					DesignParserException.DESIGN_EXCEPTION_INCONSISTENT_TEMPLATE_ELEMENT_TYPE,
					cause.getErrorCode( ) );
		}
	}
	/**
	 * Tests creates template element from a report item or data set.
	 * 
	 * @throws Exception
	 * 
	 */
	public void testCreateTemplate( ) throws Exception
	{
		openDesign( parserFileName );
		assertNotNull( designHandle );
		
		ActivityStack stack = design.getActivityStack( );
		LabelHandle labelHandle = (LabelHandle) designHandle
				.findElement( "base" ); 
		assertNotNull( labelHandle );
		String name = "label"; 
		TemplateReportItemHandle templateLabel = (TemplateReportItemHandle) labelHandle