Bug 193637 The joint condition is missing in report design when using a cube from library[1102]
Description: The joint condition is missing in report design when using a cube from library[1102] Build number: 2.2.0.v20070621-0630 Steps to reproduce: 1, New a cube has joint condition in library 2, New a report and using the cube from library 3, Preview 4, Go back and check the joint condition in cube in report design Expected result: After step3, the preview should be successful and after step4, the joint condition should be as same as library Actual result: After step3, joint condition key is missing warning occurs when preview After step4, the joint condition is not joining two keys.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ModuleUtilTest.java
* <li>test design file with same version value of currrent version.
	 * </ul>
	 * 
	 * @throws Exception
	 */
	public void testCheckVersion( ) throws Exception
	{
		ThreadResources.setLocale( ULocale.ENGLISH );
		
		List infos = ModuleUtil.checkVersion( getResource(
				INPUT_FOLDER + "DesignWithoutLibrary.xml" ).toString( ) );
		assertEquals( 1, infos.size( ) );
		IVersionInfo versionInfo = (IVersionInfo) infos.get( 0 );
		assertEquals( "1", versionInfo.getDesignFileVersion( ) ); 
		assertEquals(
				"The design file was created by an earlier version of BIRT. Click OK to convert it to a format supported by the current version of the product.", versionInfo.getLocalizedMessage( ) ); 
		infos = ModuleUtil.checkVersion( getResource(
				INPUT_FOLDER + "ScalarParameterHandleTest.xml" ).toString( ) ); 
		assertEquals( 0, infos.size( ) );
		infos = ModuleUtil.checkVersion( getResource(
				INPUT_FOLDER + "CheckVersionDesign.xml" ).toString( ) ); 
		assertEquals( 1, infos.size( ) );
		versionInfo = (IVersionInfo) infos.get( 0 );
		assertEquals( "3.2.19", versionInfo.getDesignFileVersion( ) ); 
		assertEquals(
				"The report file of version \"3.2.19\" is not supported.", 
				versionInfo.getLocalizedMessage( ) ); 
	}
}