Bug 179629 After create a x-tab with a cube, a error occurs in Problems sheet[1102]
Description: After create a x-tab with a cube, a error occurs in Problems sheet[1102] Build number: 2.2.0.v20070328-0630 Steps to reproduce: 1, Create a cube 2, Create a x-tab using the cube 3, Check the error message in Problems sheet Expected result: No error occurs after create a x-tab Actual result: The error message is "The ExtendedItem must be able to access one data set."
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/extension/ReportItemExtensionTest.java
.getProperty( Style.MAP_RULES_PROP );
		assertEquals( 5, mapRules.size( ) );
		assertEquals( DesignChoiceConstants.MAP_OPERATOR_EQ,
				( (MapRule) mapRules.get( 0 ) ).getOperator( ) );
		assertEquals( "Closed", ( (MapRule) mapRules.get( 0 ) ).getDisplay( ) ); 
		
		
		assertEquals( "\"X\"", ( (MapRule) mapRules.get( 0 ) ).getValue1( ) ); 
		assertEquals( DesignChoiceConstants.MAP_OPERATOR_TRUE,
				( (MapRule) mapRules.get( 1 ) ).getOperator( ) );
		assertEquals( "Open", ( (MapRule) mapRules.get( 1 ) ).getDisplay( ) ); 
		assertEquals( DesignChoiceConstants.MAP_OPERATOR_LIKE,
				( (MapRule) mapRules.get( 2 ) ).getOperator( ) );
		assertEquals( "Unknown", ( (MapRule) mapRules.get( 2 ) ).getDisplay( ) ); 
		NameSpace ns = design.getNameSpace( Module.STYLE_NAME_SPACE );
		assertEquals( 4, ns.getCount( ) );
		
		StyleElement predefinedStyle = design.findStyle( "extended-item" ); 
		assertEquals( "extended-item", predefinedStyle.getName( ) ); 
		assertEquals(
				"normal", predefinedStyle.getStringProperty( design, Style.FONT_VARIANT_PROP ) ); 
		StyleHandle sh = extendedHandle.getPrivateStyle( );
		Iterator iter = sh.mapRulesIterator( );
		assertNotNull( iter.next( ) );
		assertNotNull( iter.next( ) );
		assertNotNull( iter.next( ) );
		ArrayList list = new ArrayList( );
		list.add( extendedHandle );
		GroupElementHandle groupHandle = new SimpleGroupElementHandle(
				designHandle, list );