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
MemberHandle paramBindings = action.getParamBindings( );
		assertEquals( 2, paramBindings.getListValue( ).size( ) );
		ParamBindingHandle paramBinding1 = (ParamBindingHandle) paramBindings
				.getAt( 0 );
		assertEquals( "param1", paramBinding1.getParamName( ) ); 
		assertEquals( "1+1=3", paramBinding1.getExpression( ) ); 
		MemberHandle searchKeys = action.getSearch( );
		assertEquals( 2, searchKeys.getListValue( ).size( ) );
		SearchKeyHandle key1 = (SearchKeyHandle) searchKeys.getAt( 0 );
		assertEquals(
				"\"E001\".equals(row[\"studentId\"])", key1.getExpression( ) ); 
		
		is = ModuleUtilTest.class
				.getResourceAsStream( "input/ActionDeserializeTest_1.xml" ); 
		action = ModuleUtil.deserializeAction( is );
		assertNotNull( action );
		assertEquals( "/BIRT/\u4e2d\u6587.html", action.getURI( ) ); 
		ActionHandle actionHandle = ModuleUtil
				.deserializeAction( (String) null );
		assertNotNull( actionHandle );
		assertEquals( "hyperlink", actionHandle.getLinkType( ) ); 
	}
	/**
	 * Test serialize an action instance.
	 * 
	 * @throws Exception
	 */
	public void testSerialize( ) throws Exception
	{
		openDesign( "ActionSerializeTest.xml" );