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
*            the source element
	 * @param target
	 *            the target element
	 * @return the container of <code>target</code>
	 */
	private DesignElement getTargetContainer( DesignElement sourceElement,
			DesignElement target, List processedElement )
	{
		DesignElement sourceContainer = sourceElement.getContainer( );
		long containerId = sourceContainer.getID( );
		DesignElement tmpContainer = null;
		tmpContainer = (DesignElement) externalElements.get( sourceContainer );
		if ( tmpContainer == null )
			tmpContainer = targetDesign.getElementByID( containerId );
		if ( tmpContainer == null )
			return null;
		if ( sourceContainer.getElementName( ).equalsIgnoreCase(
				tmpContainer.getElementName( ) ) )
			return tmpContainer;
		if ( sourceContainer instanceof Module && tmpContainer == targetDesign )
			return tmpContainer;
		if ( sourceContainer instanceof Theme )
			return targetDesign;
		return tmpContainer;
	}
	/**
	 * Visits the member value.
	 * 
	 * @param obj
	 *            the member value to traverse