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.tests/test/org/eclipse/birt/report/model/parser/TabularCubeParserTest.java
assertEquals(
				designHandle.findDataSet( "secondDataSet" ), hierarchy.getDataSet( ) ); 
		
		iter1 = hierarchy.accessControlsIterator( );
		accessControl = (AccessControlHandle) iter1.next( );
		assertEquals( "hierarchy user1; hierarchy user2", accessControl 
				.getPropertyHandle( IAccessControlModel.USER_NAMES_PROP )
				.getStringValue( ) );
		assertEquals( "hierarchy role1; hierarchy role2", accessControl 
				.getPropertyHandle( IAccessControlModel.ROLES_PROP )
				.getStringValue( ) );
		assertEquals( DesignChoiceConstants.ACCESS_PERMISSION_ALLOW,
				accessControl.getPermission( ) );
		propHandle = cube.getPropertyHandle( TabularCubeHandle.DIMENSIONS_PROP );
		assertEquals( 1, propHandle.getContentCount( ) );
		assertEquals( 1, cube
				.getContentCount( TabularCubeHandle.DIMENSIONS_PROP ) );
		
		iter = hierarchy.filtersIterator( );
		filterConditionHandle = (FilterConditionHandle) iter.next( );
		assertEquals( "filter expression", filterConditionHandle.getExpr( ) ); 
		List primaryKeys = hierarchy.getPrimaryKeys( );
		assertEquals( 3, primaryKeys.size( ) );
		assertEquals( "key", primaryKeys.get( 0 ) ); 
		assertEquals( "key2", primaryKeys.get( 1 ) ); 
		assertEquals( "key4", primaryKeys.get( 2 ) ); 
		propHandle = hierarchy
				.getPropertyHandle( TabularHierarchyHandle.LEVELS_PROP );
		assertEquals( 1, propHandle.getContentCount( ) );
		assertEquals( 1, hierarchy