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
}
	/**
	 * Localize the element, break the parent/child relationship and set all the
	 * extended properties locally.
	 * 
	 * @throws SemanticException
	 * 
	 */
	public void localizeElement( ) throws SemanticException
	{
		
		DesignElement parent = element.getExtendsElement( );
		if ( parent == null )
			throw new InvalidParentException( element, parent,
					InvalidParentException.DESIGN_EXCEPTION_NO_PARENT );
		
		
		
		ContentIterator parentIter = new ContentIterator( parent );
		ContentIterator childIter = new ContentIterator( element );
		while ( parentIter.hasNext( ) )
		{
			assert childIter.hasNext( );
			DesignElement e1 = (DesignElement) parentIter.next( );
			DesignElement e2 = (DesignElement) childIter.next( );
			assert e1.getDefn( ) == e2.getDefn( );
			assert e2.getBaseId( ) == e1.getID( );
		}