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.
core/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/frameworks/errordisplay/ErrorDialog.java
{
			grpProblems.setText( Messages.getString( "ErrorDialog.text.ErrorList" ) ); 
			txtProblems.setText( sErrors );
			btnDetails.setText( Messages.getString( "ErrorDialog.text.ShowDetails" ) ); 
			grpDetails.setText( Messages.getString( "ErrorDialog.text.SuggestedFixes" ) ); 
			btnOK.setText( Messages.getString( "ErrorDialog.text.FixIt" ) ); 
			btnCancel.setText( Messages.getString( "ErrorDialog.text.ProceedWithoutFixing" ) ); 
			if ( sFixes == null || sFixes.length( ) == 0 )
			{
				btnDetails.setEnabled( false );
			}
			else
			{
				btnDetails.setEnabled( true );
				txtDetails.setText( sFixes );
			}
		}
		else
		{
			
			
			
			txtProblems.setText( sExceptionMessage );
			btnDetails.setText( Messages.getString( "ErrorDialog.text.ShowTrace" ) ); 
			grpDetails.setText( Messages.getString( "ErrorDialog.text.StackTrace" ) ); 
			btnOK.setText( Messages.getString( "ErrorDialog.text.Ok" ) ); 
			if ( sTrace == null || sTrace.length( ) == 0 )
			{
				btnDetails.setEnabled( false );
			}