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/api/validators/MasterPageContextContainmentValidator.java
slotId,
							toAdd,
							ContentException.DESIGN_EXCEPTION_INVALID_CONTEXT_CONTAINMENT ) );
		}
		return errors;
	}
	/**
	 * Validates whether the given element can recursively resides in the
	 * specific slot of specific container type when trying to add an element.
	 * 
	 * @param module
	 *            the root module of the element to validate
	 * @param element
	 *            the container element
	 * @param toAdd
	 *            the element definition to add
	 * 
	 * @return error list, each of which is the instance of
	 *         <code>SemanticException</code>.
	 */
	public List validateForAdding( Module module, DesignElement element,
			IElementDefn toAdd )
	{
		IElementDefn defn = MetaDataDictionary.getInstance( ).getElement(
				ReportDesignConstants.LISTING_ITEM );
		boolean isAddListing = defn.isKindOf( toAdd );		
		return doValidate( module, element, isAddListing );
	}
}