Bug 168026 Still use the existing data binding even though the aggregate is different
I had a table in which a data binding which aggregates on a group. When I insert a new data item in the report, although the expressions are same, it aggregates on All, then it refered to the existing data binding. The expected behavior would be a new data binding is created with different aggregates.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ReportItemHandleTest.java
* <li>check free-form element which contains attribute data-set</li>
	 * <li>check list element which doesn't contain attribute data-set</li>
	 * </ul>
	 * 
	 * Excepted:
	 * <ul>
	 * <li>dataset name is myDataSet</li>
	 * <li>null</li>
	 * </ul>
	 * 
	 * @throws SemanticException
	 */
	public void testDataSet( ) throws SemanticException
	{
		
		element = design.findElement( "free form" ); 
		assertNotNull( element );
		innerHandle = new InnerReportItemHandle( design, element );
		DesignElementHandle itemHandle = innerHandle.getDataSet( );
		assertNotNull( itemHandle );
		String name = innerHandle.getDataSet( ).getElement( ).getName( );
		assertEquals( "myDataSet", name ); 
		
		element = design.findElement( "my list" ); 
		assertNotNull( element );
		innerHandle = new InnerReportItemHandle( design, element );
		itemHandle = innerHandle.getDataSet( );
		assertNotNull( itemHandle );
		DataSetHandle handle = designHandle.findDataSet( "myDataSet" ); 
		ListHandle list = (ListHandle) element.getHandle( design );