Bug 142928 Item from library is changed to a report design item after revert to report item
Details: Item from library is changed to a report design item after revert to report item. Setp: 1.New a template. 2.Use a libary contain a label. 3.Drop the label from library explorer into layout. 4.Change the label to template item. 5.Revert the template item to report item. Actual result: The label is become a report item, but a item from library. Please see the attach image. Exception result: The lable is revert a item from library.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DesignElementHandle.java
for ( Iterator iter = properties.keySet( ).iterator( ); iter.hasNext( ); )
		{
			String propName = (String) iter.next( );
			setProperty( propName, properties.get( propName ) );
		}
	}
	/**
	 * Clears all the content within the given slot. If this operation should be
	 * treated as a whole, execution should be in a transaction.
	 * 
	 * @param slotId
	 *            id of the slot to be cleared.
	 * @throws SemanticException
	 */
	public void clearContents( int slotId ) throws SemanticException
	{
		SlotHandle slotHandle = getSlot( slotId );
		if ( slotHandle == null )
			return;
		for ( int i = slotHandle.getCount( ) - 1; i >= 0; i-- )
		{
			slotHandle.dropAndClear( i );
		}
	}
	/**
	 * Removes an existing user property definition from the element. This
	 * method will remove all existing values for the property, in both this
	 * element and all its derived elements.
	 * 
	 * @param propName