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
ArrayList bindingList = (ArrayList) root.getLocalProperty( root,
				Module.PROPERTY_BINDINGS_PROP );
		PropertyBinding binding = root.findPropertyBinding( getElement( ),
				propName );
		
		if ( binding == null && value == null )
			return;
		if ( bindingList == null )
		{
			assert value != null;
			bindingList = new ArrayList( );
			root.setProperty( Module.PROPERTY_BINDINGS_PROP, bindingList );
		}
		defn = root.getPropertyDefn( Module.PROPERTY_BINDINGS_PROP );
		assert defn != null;
		PropertyCommand cmd = new PropertyCommand( module, root );
		if ( value == null && binding != null )
		{
			
			cmd.removeItem( new CachedMemberRef( defn ), bindingList
					.indexOf( binding ) );
		}
		else
		{
			/*
			 * If the property has no binding related to, adds a new binding
			 * item into the structure list.
			 */
			if ( binding == null )
			{