Bug 148761 Unable to copy a report item from template to report
Steps: 1. Create a template, add a Text item "t1" or others 2. Create template item using "t1" 3. Double click the template item and we get a report item again. 4. We copy the item, paste to another report file. Expected: the text item can be copied. Actual result: Nothing happened, not copied and no error msg.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ExtendsCommand.java
parentIter = new ContentIterator( parent );
		childIter = new ContentIterator( element );
		while ( parentIter.hasNext( ) )
		{
			DesignElement e1 = (DesignElement) parentIter.next( );
			DesignElement e2 = (DesignElement) childIter.next( );
			ElementLocalizeRecord record = new ElementLocalizeRecord( module,
					e2, e1 );
			activityStack.execute( record );
		}
		activityStack.commit( );
	}
	/**
	 * Sets the theme with the given element reference value. Call this method
	 * when the theme name or theme element has been validated.
	 * 
	 * @param refValue
	 *            the validated reference value
	 * @throws ExtendsException
	 *             if the element can not have theme or the theme is not found.
	 */
	protected void setExtendsRefValue( ElementRefValue refValue )
			throws ExtendsException
	{
		if ( refValue == null && element.getExtendsName( ) == null )
			return;
		doSetExtendsRefValue( refValue );
	}
}