Bug 140620 Chart scripting errors are ignored
Write a chart with an invalid script, the execution simply ignores the script. This makes it difficult to debug scripting. The error message is also not precise and needs improvements.
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/TaskSelectData.java
return ( (ChartWizardContext) getContext( ) ).getModel( );
	}
	private int switchDataSet( String datasetName ) throws ChartException
	{
		int bCancel = Window.OK;
		if ( getDataServiceProvider( ).getBoundDataSet( ) != null
				&& getDataServiceProvider( ).getBoundDataSet( )
						.equals( datasetName ) )
		{
			return bCancel;
		}
		try
		{
			
			getDataServiceProvider( ).setDataSet( datasetName );
			tablePreview.clearContents( );
			
			if ( datasetName == null )
			{
				datasetName = getDataServiceProvider( ).getReportDataSet( );
			}
			if ( datasetName != null )
			{
				switchDataTable( );
			}
			else
			{
				tablePreview.createDummyTable( );
			}
			tablePreview.layout( );