Bug 197261 [2.2.1]The report that contain library xtab and set filter cannot be run
Description: [2.2.1]The report that contain library xtab and set filter cannot be run Step: 1.New a library and add a xtab 2.New a report and use the library 3.Drop the xtab from library explorer into layout 4.Set the filter on the xtab that is in report 5.Preview Actual result: It pop up an error said that the report cannot be run
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java
public void visitMeasureGroup( MeasureGroup obj )
	{
		super.visitMeasureGroup( obj );
		writeContents( obj, IMeasureGroupModel.MEASURES_PROP );
		writeOverridenPropertyValues( obj );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.elements.ElementVisitor#visitMeasure(org.eclipse.birt.report.model.elements.olap.Measure)
	 */
	public void visitMeasure( Measure obj )
	{
		super.visitMeasure( obj );
		property( obj, IMeasureModel.FUNCTION_PROP );
		property( obj, IMeasureModel.IS_CALCULATED_PROP );
		property( obj, IMeasureModel.MEASURE_EXPRESSION_PROP );
		property( obj, IMeasureModel.DATA_TYPE_PROP );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.elements.ElementVisitor#visitAccessControl(org.eclipse.birt.report.model.elements.AccessControl)
	 */
	public void visitAccessControl( AccessControl obj )
	{
		writer.startElement( DesignSchemaConstants.ACCESS_CONTROL_TAG );
		markLineNumber( obj );
		super.visitAccessControl( obj );
		writeSimplePropertyList( obj, IAccessControlModel.USER_NAMES_PROP );