Bug 198604 After refresh the library, the link groups key are changed in cube builder[1101]
Description: After refresh the library, the link groups key are changed in cube builder[1101] Build number: 2.2.1.v20070802-0630 Steps to reproduce: 1, New a cube in library, the cube has a joint key between dimension table and facttable 2, Using the cube in a report design 3, Check the joint status in link group 4, Refresh the library in outline 5, Recheck the joint staus in link group Expected result: After step5, the joint status are correct and as same as the status in library Actual result: The dimension table is missing and the joint key is disconnected
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/library/ReloadLibraryTest.java
public void testReloadLibrary1( ) throws Exception
	{
		List fileNames = new ArrayList( );
		fileNames.add( INPUT_FOLDER + "DesignToReloadLibrary1.xml" ); 
		fileNames.add( INPUT_FOLDER + "LibraryToReload1.xml" ); 
		List filePaths = dumpDesignAndLibrariesToFile( fileNames );
		String designFilePath = (String) filePaths.get( 0 );
		openDesign( designFilePath, false );
		LabelHandle label1 = (LabelHandle) designHandle.findElement( "label1" ); 
		assertEquals( "aaa", label1.getText( ) ); 
		String libFilePath = (String) filePaths.get( 1 );
		openLibrary( libFilePath, false );
		LabelHandle libLabel1 = (LabelHandle) libraryHandle
				.findElement( "libLabel1" ); 
		libLabel1.setText( "bbb" ); 
		libLabel1 = (LabelHandle) libraryHandle.findElement( "libPageLabel1" ); 
		libLabel1.setText( "ccc" ); 
		libraryHandle.save( );
		designHandle.reloadLibrary( libraryHandle );
		libraryHandle = designHandle.getLibrary( "Lib1" ); 
		libLabel1 = (LabelHandle) libraryHandle.findElement( "libLabel1" ); 
		assertEquals( "bbb", libLabel1.getText( ) ); 
		assertEquals( "bbb", label1.getText( ) ); 
		SimpleMasterPageHandle page = (SimpleMasterPageHandle) designHandle
				.findMasterPage( "My Page" ); 
		assertEquals( 1, page.getPageHeader( ).getCount( ) );
		libLabel1 = (LabelHandle) page.getPageHeader( ).get( 0 );
		assertEquals( "ccc", libLabel1.getText( ) ); 
	}
	/**