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
switch ( context.getSlotID( ) )
			{
				case ILibraryModel.THEMES_SLOT :
					newId = IDesignElementModel.NO_SLOT;
					assert false;
					break;
				case ILibraryModel.CUBE_SLOT :
					newId = IReportDesignModel.CUBE_SLOT;
					break;
				default :
					newId = context.getSlotID( );
			}
			context = new ContainerContext( tmpContainer, newId );
		}
		assert context != null;
		if ( context.contains( targetDesign, tmpElement ) )
			return;
		addElement( targetDesign, context, tmpElement );
		targetDesign.manageId( tmpElement, true );
	}
	/**
	 * Adds an element to the context. This method will handle container
	 * relationship, element name and element id for the inserted content and
	 * all its children.
	 * 
	 * @param module
	 * @param context
	 * @param content
	 */
	private void addElement( Module module, ContainerContext context,