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
return getElement( ).getPropertyDefn( propName );
	}
	/**
	 * Returns the effective module of the element. If the element is attached
	 * to the design/library, the design/library is returned. Otherwise, the
	 * module cached in the <code>DesignElementHandle</code> is returned.
	 * 
	 * @return the effective module of the element. Can be null.
	 */
	protected Module getEffectiveModule( )
	{
		return module;
	}
	/**
	 * Returns the overridden value of the specified property given its internal
	 * name.
	 * 
	 * @param propName
	 *            the name of the property to get. Can be a system-defined or
	 *            user-defined property name.
	 * 
	 * @return the property binding, or null if the overridden value is not set
	 */
	public String getPropertyBinding( String propName )
	{
		PropertyBinding propBinding = module.findPropertyBinding(
				getElement( ), propName );
		if ( propBinding == null )
			return null;
		return propBinding.getValue( );