Bug 199751 getProperty(...) returns null
I created report with user property called "version". Later i need to access that property using BIRT Runtime. I access it using getProperty() method: Report: <list-property name="userProperties"> <structure> <property name="name">version</property> <property name="type">string</property> <property name="isVisible">true</property> </structure> </list-property> <property name="version">1.0</property> Accesing using BIRT Runtime: ReportRunnable reportDesign = engine.openReportDesign("Report.rptdesign"); String version = reportDesign.getProperty("version"); When there's a library linked to Report.rptdesign, version is null. When i remove the library from report design, getProperty() returns correct value.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ReportDesignSerializer.java
}
		Iterator embeddedImages = externalStructs.values( ).iterator( );
		while ( embeddedImages.hasNext( ) )
		{
			EmbeddedImage image = (EmbeddedImage) embeddedImages.next( );
			targetDesign.rename( image );
			images.add( image );
		}
	}
	/**
	 * Adds elements values to the target. These elements are not directly in
	 * source design. May resides in libraries of source design.
	 */
	private void addExternalElements( )
	{
		List tmpElements = new ArrayList( );
		tmpElements.addAll( externalElements.keySet( ) );
		List processedElements = new ArrayList( );
		int index = 0;
		while ( processedElements.size( ) < externalElements.size( ) )
		{
			DesignElement originalElement = (DesignElement) tmpElements
					.get( index++ );
			addExternalElement( tmpElements, processedElements, originalElement );
		}
	}
	/**
	 * @param elements
	 * @param processedElements
	 * @param originalElement