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
prop.getName( ), null );
						stack.execute( record );
					}
				}
			}
			ancestor = ancestor.getExtendsElement( );
		}
	}
	/**
	 * Sets the extends attribute for an element given the new parent element.
	 * 
	 * @param parent
	 *            the new parent element.
	 * @throws ExtendsException
	 *             if the element can not be extended or the base element is not
	 *             on component slot, or the base element has no name.
	 */
	public void setExtendsElement( DesignElement parent )
			throws ExtendsException
	{
		if ( parent == null )
		{
			setExtendsName( null );
			return;
		}
		String name = parent.getName( );
		if ( StringUtil.isBlank( name ) )
			throw new InvalidParentException( element, "", 
					InvalidParentException.DESIGN_EXCEPTION_UNNAMED_PARENT );
		Module module = parent.getRoot( );