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
ImageHandle image1 = (ImageHandle) designHandle.findElement( "image1" ); 
		ActionHandle action1 = image1.getActionHandle( );
		ImageHandle image2 = (ImageHandle) designHandle.findElement( "image2" ); 
		ActionHandle action2 = image2.getActionHandle( );
		String str = ModuleUtil.serializeAction( action1 );
		os = new ByteArrayOutputStream( );
		os.write( str.getBytes( ) );
		os.close( );
		assertTrue( compareFile( "ActionSerializeTest1_golden.xml" ) ); 
		str = ModuleUtil.serializeAction( action2 );
		os = new ByteArrayOutputStream( );
		os.write( str.getBytes( ) );
		os.close( );
		assertTrue( compareFile( "ActionSerializeTest2_golden.xml" ) ); 
	}
	/**
	 * Test CheckModule.
	 * 
	 * Cases:
	 * <ul>
	 * <li>valid report design file
	 * <li>valid library file
	 * <li>invalid report design file
	 * <li>invalid library file
	 * </ul>
	 * 
	 * @throws Exception
	 */
	public void testCheckModule( ) throws Exception
	{