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
List userProps = templateLabel.getUserProperties( );
		assertEquals( 2, userProps.size( ) );
		UserPropertyDefn userPropDefn = (UserPropertyDefn) userProps.get( 0 );
		assertEquals( "myProp1", userPropDefn.getName( ) ); 
		assertEquals( IPropertyType.STRING_TYPE, userPropDefn.getTypeCode( ) );
		assertEquals( "world", templateLabel.getProperty( "myProp1" ) ); 
		userPropDefn = (UserPropertyDefn) userProps.get( 1 );
		assertEquals( "myProp2", userPropDefn.getName( ) ); 
		assertEquals( IPropertyType.CHOICE_TYPE, userPropDefn.getTypeCode( ) );
		assertEquals( "always", templateLabel.getProperty( "myProp2" ) ); 
		refTemplateParam = (ElementRefValue) templateLabel.getElement( )
				.getProperty( design,
						TemplateDataSetHandle.REF_TEMPLATE_PARAMETER_PROP );
		assertNotNull( refTemplateParam );
		assertEquals( templateLabelParam.getElement( ), refTemplateParam
				.getElement( ) );
		assertEquals(
				templateLabelParam.getName( ),
				templateLabel
						.getProperty( TemplateDataSetHandle.REF_TEMPLATE_PARAMETER_PROP ) );
		assertEquals( DesignChoiceConstants.TEMPLATE_ELEMENT_TYPE_LABEL,
				templateLabel.getAllowedType( ) );
		assertEquals( "click here to create label", templateLabel 
				.getDescription( ) );
		assertEquals( "description key", templateLabel.getDescriptionKey( ) ); 
		assertEquals( defaultLabel, templateLabel.getDefaultElement( ) );
		
		TemplateParameterDefinition templateParam = (TemplateParameterDefinition) templateDataSetParam
				.getElement( );
		assertEquals( 1, templateParam.getClientList( ).size( ) );