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
.get( 0 );
		assertNotNull( baseMatrixHandle );
		assertEquals( "baseMatrix", baseMatrixHandle.getName( ) ); 
		DesignElementHandle newMatrixHandle = designHandle.getElementFactory( )
				.newElementFrom( baseMatrixHandle, "myMatrix" ); 
		designHandle.getBody( ).add( newMatrixHandle );
		save( );
		assertTrue( compareFile( "TestAddExtendedItem_golden_2.xml" ) ); 
	}
	/**
	 * Tests the clone issues: property values, handle, element.
	 * 
	 * @throws Exception
	 */
	public void testClone( ) throws Exception
	{
		openDesign( fileName );
		ExtendedItemHandle extendedHandle = (ExtendedItemHandle) designHandle
				.findElement( "right extended item" ); 
		assertNotNull( extendedHandle );
		extendedHandle.loadExtendedElement( );
		ExtendedItemHandle clonedHandle = (ExtendedItemHandle) extendedHandle
				.copy( ).getHandle( design );
		assertNotNull( clonedHandle );
		
		assertNotNull( ( (ExtendedItem) clonedHandle.getElement( ) )
				.getExtendedElement( ) );
		assertEquals( TESTING_MATRIX_NAME, clonedHandle.getExtensionName( ) );
		assertEquals( 1.2, clonedHandle.getX( ).getMeasure( ), 0.00 );
		assertEquals( "2in", clonedHandle.getProperty( "test1" ) );