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
* 
	 * @param targetDesign
	 *            the target design to add the copied style
	 * @param target
	 *            the target element to resolve the style
	 * @param source
	 *            the source element
	 */
	private void localizeStyle( StyledElement target, StyledElement source )
	{
		
		
		
		Set notEmptyProperties = new HashSet( );
		
		
		localizeSelfStyleProperties( target, source, notEmptyProperties );
		notEmptyProperties.clear( );
	}
	/**
	 * Copies values of selector in the library into the target design. If the
	 * selector doesn't exist, localize to the report design. Otherwise, merge
	 * values in external and local selectors.
	 */
	private void localizeExternalSelectors( )
	{
		assert elements.isEmpty( );
		elements.push( targetDesign );
		Theme theme = sourceDesign.getTheme( sourceDesign );
		if ( theme == null )