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
try
		{
			element.checkExtends( parent );
		}
		catch ( ExtendsException ex )
		{
			handler.getErrorHandler( ).semanticError( ex );
			return;
		}
		element.setExtendsElement( parent );
		ElementStructureUtil.duplicateStructure( parent, element, module );
	}
	/**
	 * Add the element name into the module namespace.
	 * 
	 * @param element
	 *            the element.
	 */
	private void addToNamespace( DesignElement content )
	{
		String name = content.getName( );
		ElementDefn contentDefn = (ElementDefn) content.getDefn( );
		
		Module module = handler.getModule( );
		if ( name == null
				&& contentDefn.getNameOption( ) == MetaDataConstants.REQUIRED_NAME )
		{
			
			
			if ( ( content instanceof ExtendedItem && handler.versionNumber < VersionUtil.VERSION_3_2_8 ) )