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/src/org/eclipse/birt/report/model/api/ModuleUtil.java
Module module = element == null ? handler.getModule( ) : element
				.getModule( );
		if ( streamData == null )
		{
			Action action = StructureFactory.createAction( );
			e.setProperty( ImageHandle.ACTION_PROP, action );
			return getActionHandle( e.getHandle( module ) );
		}
		if ( !streamData.markSupported( ) )
			streamData = new BufferedInputStream( streamData );
		assert streamData.markSupported( );
		parse( handler, streamData, "" ); 
		if ( element != null )
			e.setProperty( IImageItemModel.ACTION_PROP, image.getProperty(
					handler.getModule( ), IImageItemModel.ACTION_PROP ) );
		return getActionHandle( e.getHandle( module ) );
	}
	/**
	 * Gets the action handle of this element.
	 * 
	 * @param element
	 * @return action handle
	 */
	private static ActionHandle getActionHandle( DesignElementHandle element )
	{
		PropertyHandle propHandle = element
				.getPropertyHandle( IImageItemModel.ACTION_PROP );
		Action action = (Action) propHandle.getValue( );
		if ( action == null )
			return null;