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
*         instance of <code>IVersionInfo</code>. If the size of the
	 *         return list is 0, there is no auto-conversion.
	 */
	private static List checkVersion( InputStream streamData, String filename )
			throws DesignFileException
	{
		VersionParserHandler handler = new VersionParserHandler( );
		InputStream inputStreamToParse = streamData;
		if ( !inputStreamToParse.markSupported( ) )
			inputStreamToParse = new BufferedInputStream( streamData );
		parse( handler, inputStreamToParse, filename );
		return ModelUtil.checkVersion( handler.version );
	}
	/**
	 * Checks whether the opening design file holds a version number before the
	 * some specific features is supported. This method is used to remind user
	 * that opening the file may need convert the original file automatically.
	 * 
	 * @param fileName
	 *            the file name with full path of the design file
	 * @return a list whose entry is of <code>IVersionInfo</code> type. Each
	 *         kind of automatical conversion information is stored in one
	 *         instance of <code>IVersionInfo</code>. Note that if the design
	 *         file does not exist, or it is an invalid design file, an instance
	 *         of <code>IVersionInfo</code> will also generate. If the size of
	 *         the return list is 0, there is no auto-conversion.
	 */
	public static List checkVersion( String fileName )
	{
		List rtnList = new ArrayList( );