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 visitCube( Cube obj )
	{
		super.visitCube( obj );
		property( obj, ICubeModel.DEFAULT_MEASURE_GROUP_PROP );
		writeStructureList( obj, ICubeModel.FILTER_PROP );
		writeContents( obj, ICubeModel.DIMENSIONS_PROP );
		writeContents( obj, ICubeModel.MEASURE_GROUPS_PROP );
		writeContents( obj, ICubeModel.ACCESS_CONTROLS_PROP );
		writeOverridenPropertyValues( obj );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.elements.ElementVisitor#visitDimension(org.eclipse.birt.report.model.elements.olap.Dimension)
	 */
	public void visitDimension( Dimension obj )
	{
		super.visitDimension( obj );
		property( obj, IDimensionModel.IS_TIME_TYPE_PROP );
		property( obj, IDimensionModel.DEFAULT_HIERARCHY_PROP );
		writeContents( obj, IDimensionModel.HIERARCHIES_PROP );
		writeOverridenPropertyValues( obj );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.elements.ElementVisitor#visitHierarchy(org.eclipse.birt.report.model.elements.olap.Hierarchy)
	 */
	public void visitHierarchy( Hierarchy obj )
	{