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
*/
	private void doSetExtendsRefValue( ElementRefValue newExtendsValue )
			throws ExtendsException
	{
		if ( newExtendsValue != null )
		{
			
			ElementDefn metaData = (ElementDefn) element.getDefn( );
			PropertyDefn propDefn = (PropertyDefn) metaData
					.getProperty( IDesignElementModel.EXTENDS_PROP );
			int ns = metaData.getNameSpaceID( );
			DesignElement resolvedParent = null;
			Module root = module;
			if ( !metaData.canExtend( ) )
				throw new ExtendsForbiddenException( element, newExtendsValue
						.getName( ),
						ExtendsForbiddenException.DESIGN_EXCEPTION_CANT_EXTEND );
			if ( !newExtendsValue.isResolved( ) )
				resolvedParent = root.resolveElement( ReferenceValueUtil
						.needTheNamespacePrefix( newExtendsValue, module ), ns,
						propDefn );
			else
				resolvedParent = root.resolveElement( newExtendsValue
						.getElement( ), ns, propDefn );
			DesignElement parent = newExtendsValue.getElement( );
			if ( parent != null && parent != resolvedParent )
				throw new InvalidParentException(
						element,
						newExtendsValue.getName( ),
						InvalidParentException.DESIGN_EXCEPTION_PARENT_NOT_FOUND );