Bug 190914 BIRT cross tab - Cube builder with multiple dataset
- create a report design with multiple datasets ( ds1, ds2, ds3 ) - Define a cube and chose one as the primary dataset ( ds1 ) - Now drag fields from ds2 to create a group hierarchy. Current behavior - User is taken to the "Link Groups" page Expectec behavior ------------------ The current behavior did make sense with the old UI. But as the UI was revised to add "Link Groups" as a new category in cube builder We should not take the user to "Link groups" page, this will confuse the user. The sequence currently agreed is user defines the dimensions ( groups ) and then defines the relation ship with Note: User can click on Link group category and define the relations ship.
UI/org.eclipse.birt.report.designer.ui.cubebuilder/src/org/eclipse/birt/report/designer/ui/cubebuilder/dialog/LevelPropertyDialog.java
resetEditorItems( handle.getName( ) );
				for ( int i = 0; i < editor.getItems( ).length; i++ )
					if ( handle.getName( ).equals( editor.getItems( )[i] ) )
						return new Integer( i );
			}
			if ( element instanceof String )
			{
				resetEditorItems( );
			}
			return new Integer( -1 );
		}
		public void modify( Object element, String property, Object value )
		{
			if ( element instanceof Item )
				element = ( (Item) element ).getData( );
			if ( ( (Integer) value ).intValue( ) > -1
					&& ( (Integer) value ).intValue( ) < editor.getItems( ).length )
			{
				if ( element instanceof LevelAttributeHandle )
				{
					LevelAttributeHandle handle = (LevelAttributeHandle) element;
					try
					{
						handle.setName( editor.getItems( )[( (Integer) value ).intValue( )] );
						if ( dataset != null )
						{
							ResultSetColumnHandle dataField = OlapUtil.getDataField( dataset,
									handle.getName( ) );
							handle.setDataType( dataField.getDataType( ) );
						}