Bug 124444 Preview attached file in pdf will display nothing.
Description: Preview attached file in pdf will display nothing. Steps to reproduce: 1. Preview attached design file in pdf Expected result: Report content shows Actual result: Wait for 10 minutes but nothing showed at all
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/DteDataEngine.java
if ( expr instanceof IScriptExpression )
		{
			return context.evaluate( ( ( IScriptExpression ) expr ).getText( ) );
		}
		if ( expr instanceof IConditionalExpression )
		{
			return context.evaluateCondExpr( ( IConditionalExpression ) expr );
		}
		
		assert ( false );
		return null;
	}
	protected IQueryResults getParentQR( )
	{
		for ( int i = rsStack.size( ) - 1; i >= 0; i-- )
		{
			DteResultSet rs = ( DteResultSet ) rsStack.get( i );
			if ( rs.getQueryResults( ) != null )
			{
				return rs.getQueryResults( );
			}
		}
		return null;
	}
	public DataEngine getDataEngine( )
	{
		return engine;
	}
}