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/metadata/ElementDefn.java
public List getProperties( )
	{
		ArrayList list = new ArrayList( properties.values( ) );
		
		ElementDefn obj = parent;
		while ( obj != null )
		{
			list.addAll( obj.properties.values( ) );
			obj = obj.parent;
		}
		return list;
	}
	/**
	 * Gets a property definition given a property name.
	 * 
	 * @param propName
	 *            The name of the property to get.
	 * @return The property with that name, or null if the property cannot be
	 *         found.
	 */
	public IElementPropertyDefn getProperty( String propName )
	{
		assert propName != null;
		ElementDefn e = this;
		while ( e != null )
		{
			ElementPropertyDefn prop = (ElementPropertyDefn) e.properties
					.get( propName );
			if ( prop != null )
				return prop;