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
createDesign( );
		TableHandle tableHandle = designHandle.getElementFactory( )
				.newTableItem( "new table" ); 
		designHandle.getBody( ).add( tableHandle );
		tableHandle = (TableHandle) designHandle.findElement( "new table" ); 
		ComputedColumn col = StructureFactory.createComputedColumn( );
		col.setName( null );
		col.setExpression( "dataSetRow[\"CUSTOMERNUMBER\"]" ); 
		
		assertNull( tableHandle.addColumnBinding( null, true ) );
		
		try
		{
			tableHandle.addColumnBinding( col, true );
			fail( );
		}
		catch ( SemanticException e )
		{
			assertEquals(
					PropertyValueException.DESIGN_EXCEPTION_VALUE_REQUIRED, e
							.getErrorCode( ) );
		}
		
		col.setName( "CUSTOMERNUMBER" );
		tableHandle.addColumnBinding( col, true );
		
		ComputedColumn col2 = StructureFactory.createComputedColumn( );
		col2.setName( "CUSTOMERNUMBER" ); 
		col2.setExpression( "dataSetRow[\"CUSTOMERNUMBER\"]" ); 
		try