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.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
/**
	 * Set the cancel flag.
	 */
	public void cancel( )
	{
		isCancelled = true;
	}
	public boolean isCanceled( )
	{
		return isCancelled;
	}
	
	public void setDataSource( IDocArchiveReader dataSource )
	{
		try
		{
			dataSource.open( );
			this.dataSource = dataSource;
		}
		catch ( IOException e )
		{
			log.log( Level.SEVERE, "Failed to open the data source", e ); 
		}
	}
	
	public IDocArchiveReader getDataSource()
	{
		return dataSource;
	}
}