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.tests/test/org/eclipse/birt/report/model/writer/DocumentUtilTest.java
serializeDocument( );
		
		
		DesignElement localizedStyle = design.getNameHelper( ).getNameSpace(
				IReportDesignModel.STYLE_SLOT ).getElement( "table-footer" ); 
		assertNotNull( localizedStyle );
		assertTrue( compareFile( "DocumentUtilTest_external_selectors_golden.xml" ) ); 
	}
	/**
	 * @throws Exception
	 */
	public void testCubeAndCrosstable( ) throws Exception
	{
		openDesign( DESIGN_WITH_CUBE_EXTENDS );
		serializeDocument( );
		assertTrue( compareFile( "DocumentUtilTest_extends_cube_golden.xml" ) ); 
	}
	/**
	 * In the getPropertyFromElement() call of the
	 * ReportDesignSerializer.localizePropertyValues(), the module should be
	 * element.getRoot() instead of targetDesign. Otherwise, some elements
	 * cannot be resolved. It could caused preview failure.
	 * 
	 * @throws Exception
	 */
	public void testCubeAndCrosstable1( ) throws Exception
	{
		openDesign( DESIGN_WITH_TESTING_TABLE_EXTENDS );
		serializeDocument( );
		assertTrue( compareFile( "DocumentUtilTest_extends_testingtable_golden.xml" ) );