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
try
			{
				ColorPalette.getInstance( ).restore( );
				if ( !cmbDataSet.getText( ).equals( BLANK_DATASET ) )
				{
					int bCancel = switchDataSet( cmbDataSet.getText( ) );
					if ( bCancel == Window.OK
							&& cmbDataSet.getItem( 0 ).equals( BLANK_DATASET ) )
					{
						cmbDataSet.remove( BLANK_DATASET );
					}
					else if ( bCancel == Window.CANCEL )
					{
						String[] datasetNames = cmbDataSet.getItems( );
						for ( int i = 0; i < datasetNames.length; i++ )
						{
							if ( datasetNames[i].equals( getDataServiceProvider( ).getBoundDataSet( ) ) )
							{
								cmbDataSet.select( i );
								if ( cmbDataSet.getItem( 0 )
										.equals( BLANK_DATASET ) )
								{
									cmbDataSet.remove( BLANK_DATASET );
								}
								return;
							}
						}
						cmbDataSet.select( 0 );
					}
				}