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/src/org/eclipse/birt/report/model/parser/ReportElementState.java
{
		DesignElement element = getElement( );
		String name = attrs.getValue( IDesignElementModel.NAME_PROP );
		
		PropertyDefn propDefn = element
				.getPropertyDefn( IDesignElementModel.NAME_PROP );
		if ( propDefn == null )
		{
			
			handler.getErrorHandler( ).semanticWarning(
					new NameException( element, name,
							NameException.DESIGN_EXCEPTION_NAME_FORBIDDEN ) );
		}
		else
		{
			boolean isValidName = true;
			try
			{
				name = (String) propDefn.validateValue( this.handler
						.getModule( ), name );
			}
			catch ( PropertyValueException e )
			{
				handler.getErrorHandler( ).semanticError(
						new NameException( element, name,
								NameException.DESIGN_EXCEPTION_INVALID_NAME ) );
				isValidName = false;
				element.setName( name );
			}
			if ( isValidName )