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
assertEquals( "templateDataSet", templateDataSet.getName( ) );
		ElementRefValue refTemplateParam = (ElementRefValue) templateDataSet
				.getElement( ).getProperty( design,
						TemplateDataSetHandle.REF_TEMPLATE_PARAMETER_PROP );
		assertNotNull( refTemplateParam );
		assertEquals( templateDataSetParam.getElement( ), refTemplateParam
				.getElement( ) );
		assertEquals(
				templateDataSetParam.getName( ),
				templateDataSet
						.getProperty( TemplateDataSetHandle.REF_TEMPLATE_PARAMETER_PROP ) );
		assertEquals( DesignChoiceConstants.TEMPLATE_ELEMENT_TYPE_DATA_SET,
				templateDataSet.getAllowedType( ) );
		assertEquals( "click here to create data set", templateDataSet 
				.getDescription( ) );
		assertEquals( "description key", templateDataSet.getDescriptionKey( ) ); 
		assertEquals( defaultDataSet, templateDataSet.getDefaultElement( ) );
		assertEquals( "templateLabel", templateLabel.getName( ) ); 
		assertTrue( templateLabel.visibilityRulesIterator( ).hasNext( ) );
		assertEquals( "all", ( (StructureHandle) templateLabel 
				.visibilityRulesIterator( ).next( ) ).getMember(
				HideRule.FORMAT_MEMBER ).getStringValue( ) );
		assertEquals( "1+1=3", ( (StructureHandle) templateLabel 
				.visibilityRulesIterator( ).next( ) ).getMember(
				HideRule.VALUE_EXPR_MEMBER ).getStringValue( ) );
		
		assertEquals( "display name key", templateLabel.getDisplayNameKey( ) ); 
		assertEquals( "display name", templateLabel.getDisplayName( ) );