Bug 207119 Newly added binding row._outer["a"] is not shown in the list of group key [0004]
Description: Newly added binding row._outer["a"] is not shown in the list of group key. Build number: 2.2.1.v20071022-0630 Steps to reproduce: 1. New a table table1 binding to CUSTOMERS, insert table2 binding to ORDERS in table1. 2. Add a Column Binding to table2, set row._outer["CUSTOMERNUMBER"] as expression. 3. Add a group to table2, and check the Group On drop-down list. Expected result: Column Binding is listed. Actual result: No Column Binding is listed. Error log: N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/util/DataUtil.java
for ( int i = 0; i < referredBindings.size( ); i++ )
			{
				IColumnBinding cb = (IColumnBinding) referredBindings.get( i );
				for ( int j = 0; j < availableHandles.size( ); j++ )
				{
					IBinding binding = (IBinding) availableHandles.get( j );
					if ( originalBindingName.contains( binding.getBindingName( ) ) )
						continue;
					if ( binding.getBindingName( )
							.equals( cb.getResultSetColumnName( ) ) )
						candidateBindings.add( binding );
				}
			}
			for ( int i = 0; i < candidateBindings.size( ); i++ )
			{
				ComputedColumnHandle handle = (ComputedColumnHandle) candidateBindings.get( i );
				if ( !acceptBinding( handle,
						availableHandles,
						originalBindingName ) )
					return false;
			}
			return true;
		}
		catch ( Exception e )
		{
			return false;
		}
	}
}