Bug 167210 No change in 'TOC Item Expression' after select a group row[0001]
Description: No change in 'TOC Item Expression' after select a group row[0001] Build number: 2.2.0.v20061208-1310 Steps to reproduce: 1, Drag a dataset into layout 2, Select the table and insert a group on it. 3, In New Group, select a row as group row 4, Check the 'TOC Item Expression' Expected result: The row["XXXX"] in 'TOC Item Expression' after selecting 'Group On' Actual result: There is still blank in 'TOC Item Expression' Error log:
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/GroupDialog.java
if ( newToc== null || !newToc.equals( inputGroup.getTocExpression( ) ) )
			{
				inputGroup.setTocExpression( newToc );
			}
			int index = keyChooser.getSelectionIndex( );
			String oldKeyExpr = inputGroup.getKeyExpr( );
			String newKeyExpr = getKeyExpression( );
			inputGroup.setKeyExpr( newKeyExpr );
			if ( newKeyExpr != null
					&& newKeyExpr.length( ) != 0
					&& !newKeyExpr.equals( oldKeyExpr )
					&& index != -1 )
			{
				SlotHandle slotHandle = null;
				
				if ( inputGroup instanceof ListGroupHandle )
				{
					slotHandle = inputGroup.getHeader( );
					
					
				}
				else if ( inputGroup instanceof TableGroupHandle )
				{
					if ( inputGroup.getHeader( ).getCount( ) != 0 )
					{
						RowHandle rowHandle = ( (RowHandle) inputGroup.getHeader( )
								.get( 0 ) );