Bug 142432 MasterPage from library can't be restored to modify
Details: MasterPage from library can't be restored to modify Step: 1.New a library named lib1, and insert a masterpage named lib-mp. 2.Publish the library into resource folder. 3.New a report design and use lib1. 4.Drop the lib-mp from library explorer into outline of report design. 5.Double click lib-mp, and switch to Property editro tab. 6.Click restore. Actual result: Pop up an error message and said that the master page cannot specify size the page type is not custom.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DesignElementHandle.java
{
		
		ElementPropertyDefn defn = (ElementPropertyDefn) getPropertyDefn( propName );
		if ( defn == null )
			throw new SemanticError( getElement( ), new String[]{propName},
					SemanticError.DESIGN_EXCEPTION_INVALID_PROPERTY_NAME );
		if ( Module.PROPERTY_BINDINGS_PROP.equals( defn.getName( ) ) )
			return;
		
		Module root = getElement( ).getRoot( );
		if ( root == null )
			throw new SemanticError( getElement( ),
					SemanticError.DESIGN_EXCEPTION_PROPERTY_BINDING_FORBIDDEN );
		assert root.getElementByID( getID( ) ) == getElement( );
		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 );