Bug 142104 Cannot place data set field on master page
Bugzilla 122419 says this is fixed. I am using RC2, and I can't insert a data set field in the master page header or footer.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dnd/InsertInLayoutUtil.java
{
		/*
		 * search the target container, if container has the same dataset, add
		 * the column binding if it does not exist in the container. If the
		 * container's dataset is not the dragged dataset column's dataset,
		 * column binding will be added to the new dataitem, and set dataitem's
		 * dataset with the dragged dataset column's dataset.
		 */
		DataItemHandle dataHandle = DesignElementFactory.getInstance( )
				.newDataItem( null );
		DataSetHandle dataSet = (DataSetHandle) model.getElementHandle( );
		dataHandle.setResultSetColumn( model.getColumnName( ) );
		boolean bindingExist = true;
		if ( targetParent instanceof ReportItemHandle )
		{
			ReportItemHandle container = (ReportItemHandle) targetParent;
			ComputedColumn bindingColumn = StructureFactory.newComputedColumn( dataHandle,
					model.getColumnName( ) );
			bindingColumn.setDataType( model.getDataType( ) );
			bindingColumn.setExpression( DEUtil.getExpression( model ) );
			if ( target instanceof DesignElementHandle )
			{
				if ( DEUtil.getGroupControlType( (DesignElementHandle)target )
						.equals( DEUtil.TYPE_GROUP_GROUP ) )
				{
					bindingColumn.setAggregrateOn( ( (GroupHandle) DEUtil.getGroups( (DesignElementHandle)target )
							.get( 0 ) ).getName( ) );
				}
			}
			DataSetHandle containerDataSet = DEUtil.getFirstDataSet( container );