Bug 120216 Group dialog should be showed even dataset is not set.
- Add a table report item - do not set the data set - try creating a new table group. - An error is shown Expected behavior - As part of the template requirements, we dont want UI to do the validation. User should be able to go and define a group, even if the dataset is not defined.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/GroupDialog.java
else
			{
				newKey = DEUtil.getExpression( columnList.get( index ) );
			}
			if ( !newKey.equals( oldKey ) )
			{
				inputGroup.setKeyExpr( newKey );
				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 ) );
						CellHandle cellHandle = (CellHandle) rowHandle.getCells( )
								.get( 0 );
						slotHandle = cellHandle.getContent( );
					}
				}
				if ( slotHandle != null )
				{
					Object insertObj = index == -1 ? newKey
							: columnList.get( index );
					DesignElementHandle dataItemHandle = InsertInLayoutUtil.performInsert( insertObj,
							slotHandle,
							inputGroup.getContainer( ) );