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
private List getPropertyListWithType( List propList, int type )
	{
		List props = new ArrayList( );
		Iterator iter = propList.iterator( );
		while ( iter.hasNext( ) )
		{
			PropertyDefn propDefn = (PropertyDefn) iter.next( );
			if ( propDefn.getTypeCode( ) == type )
			{
				props.add( propDefn );
			}
		}
		return props;
	}
	/**
	 * Caches meta-data for this element. Resolves the parent name and so on.
	 * 
	 * @throws MetaDataException
	 *             if any build process failed.
	 * 
	 */
	protected void build( ) throws MetaDataException
	{
		if ( isBuilt )
			return;
		buildDefn( );
		
		
		buildProperties( );
		buildStyleProperties( );