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
*            the display key property value
	 * @param value
	 *            the property value
	 * @param locale
	 *            the locale
	 * @return externalized message.
	 */
	public static String getExternalizedValue( DesignElementHandle element,
			String key, String value, ULocale locale )
	{
		if ( element == null )
			return value;
		DesignElement tmpElement = element.getElement( );
		while ( tmpElement != null )
		{
			Module root = tmpElement.getRoot( );
			if ( root == null )
				break;
			String externalizedText = root.getMessage( key, locale );
			if ( externalizedText != null )
				return externalizedText;
			if ( !tmpElement.isVirtualElement( ) )
				tmpElement = tmpElement.getExtendsElement( );
			else
				tmpElement = tmpElement.getVirtualParent( );
		}
		return value;
	}
}