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
designHandle.reloadLibrary( libraryHandle );
		assertEquals( 1, libraryListener.events.size( ) );
		assertTrue( libraryListener.events.get( 0 ) instanceof LibraryReloadedEvent );
		
		assertEquals( 3, ns.getCount( ) );
		
		assertEquals( ColorPropertyType.BLACK, table1
				.getStringProperty( Style.COLOR_PROP ) );
		assertEquals( ColorPropertyType.BLACK, label1
				.getStringProperty( Style.COLOR_PROP ) );
		assertNull( label1.getStyle( ) );
		assertEquals( "style1", label1 
				.getStringProperty( StyledElement.STYLE_PROP ) );
		
		assertEquals( 0, table1.getDetail( ).getCount( ) );
		assertEquals( 1, table1.getHeader( ).getCount( ) );
		
		assertFalse( designHandle.getCommandStack( ).canRedo( ) );
		assertFalse( designHandle.getCommandStack( ).canUndo( ) );
		save( );
		assertTrue( compareFile( "DesignToReloadLibrary_golden.xml" ) ); 
	}
	/**
	 * Test cases:
	 * 
	 * <ul>
	 * <li>remove the table lib1.libTable1 from the library and add a grid
	 * lib1.libTable1. Design.table1 can not be resolved to gri lib1.libTable1.
	 * </ul>
	 *