Bug 150776 Binding parameters of datasources are not evaluated when datasource in a library
I used to defined a datasource with binding parameters (depending on parameters ...). It works well when datasource is defined in the report, but when i tried to put this datasource in a library, binding expressions are not evaluated or not used by the datasource. When debugging the code, two datasources appears, the initial from the library (module=Library) and the linked from the report (module=ReportDesign). The dataset used the datasource of the report, but no binding values are found on the report datasource. The datasource from the library is evaluated correctly but not used.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DesignElementHandle.java
* @param propName
	 *            the property name to get. Can be a system-defined or
	 *            user-defined property name.
	 * 
	 * @param value
	 *            the overridden value
	 * 
	 * @throws SemanticException
	 *             if the maskValue is not one of the above.
	 */
	public void setPropertyBinding( String propName, String value )
			throws SemanticException
	{
		
		ElementPropertyDefn defn = (ElementPropertyDefn) getPropertyDefn( propName );
		if ( defn == null )
			throw new SemanticError( getElement( ), new String[]{propName},
					SemanticError.DESIGN_EXCEPTION_INVALID_PROPERTY_NAME );
		if ( Module.PROPERTY_BINDINGS_PROP.equals( defn.getName( ) ) )
			return;
		
		Module root = getElement( ).getRoot( );
		if ( root == null )
			throw new SemanticError( getElement( ),
					SemanticError.DESIGN_EXCEPTION_PROPERTY_BINDING_FORBIDDEN );
		assert root.getElementByID( getID( ) ) == getElement( );
		ArrayList bindingList = (ArrayList) root.getLocalProperty( root,
				Module.PROPERTY_BINDINGS_PROP );
		PropertyBinding binding = root.findPropertyBinding( getElement( ),
				propName );