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
assertFalse( slotDefn.getContentExtendedElements( ).contains(
				extendedItemDefn ) );
		assertTrue( slotDefn.getContentElements( ).contains( extendedItemDefn ) );
		openDesign( "ExtensionTest_5.xml" ); 
		FreeFormHandle freeForm = designHandle.getElementFactory( )
				.newFreeForm( "MyForm" ); 
		assertTrue( freeForm.canContain( FreeForm.REPORT_ITEMS_SLOT,
				"TestingMatrix" ) ); 
		assertTrue( freeForm.canContain( FreeForm.REPORT_ITEMS_SLOT,
				"TestingBox" ) ); 
		assertFalse( freeForm.canContain( FreeForm.REPORT_ITEMS_SLOT,
				"wrongExtension" ) ); 
	}
	/**
	 * Tests the semantic check of data set required.
	 * 
	 * @throws Exception
	 */
	public void testSemanticCheck( ) throws Exception
	{
		openDesign( fileName_6 );
		assertEquals( 3, design.getErrorList( ).size( ) );
		assertEquals(
				"org.eclipse.birt.report.model.api.extension.ExtendedElementException", 
				( (ErrorDetail) design.getErrorList( ).get( 0 ) )
						.getExceptionName( ) );
		assertEquals(
				"org.eclipse.birt.report.model.api.extension.ExtendedElementException", 
				( (ErrorDetail) design.getErrorList( ).get( 1 ) )
						.getExceptionName( ) );