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
public void dropUserPropertyDefn( String propName )
			throws UserPropertyException
	{
		DesignElement element = getElement( );
		UserPropertyCommand cmd = new UserPropertyCommand( module, element );
		cmd.dropUserProperty( propName );
	}
	/**
	 * Returns a handle to the element that this element extends.
	 * 
	 * @return the parent element. Returns <code>null</code> if this element
	 *         does not have a parent, or if the extends name does not resolve
	 *         to a valid element.
	 */
	public DesignElementHandle getExtends( )
	{
		DesignElement parent = getElement( ).getExtendsElement( );
		if ( parent == null )
			return null;
		return parent.getHandle( parent.getRoot( ) );
	}
	/**
	 * Sets this element to extend the given element.
	 * 
	 * @param parent
	 *            handle to the element that this element is to extend. If
	 *            <code>null</code>, then this element will no longer extend
	 *            another element.
	 * @throws ExtendsException
	 *             if the parent element is of the wrong type as this element.