Bug 164764 Joint data set does not work properly using attached flatfile
The data set preview keep empty in joint data set. Step to reproduce: 1.Create two data sets based on attached flat file 2.Make an inner join using joint data set with key "A". 3.Preview data set in data set editor. Expect result: The data set preview correctly Actual result: The data set preview is empty.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/ScriptEvalUtil.java
{
			
			Object handle = expr.getHandle();
			if ( handle instanceof NEvaluator )
			{
				result =  Boolean.valueOf (((NEvaluator)handle).evaluate( cx, scope ));
			}
			else
			{
				ConditionalExpression ConditionalExpr = (ConditionalExpression) expr;
				Object expression = evalExpr( ConditionalExpr.getExpression( ), cx, scope, source, lineNo );
				Object Op1 = evalExpr( MiscUtil.constructValidScriptExpression ( ConditionalExpr.getOperand1() ), cx, scope, source, lineNo );
				Object Op2 = evalExpr( MiscUtil.constructValidScriptExpression ( ConditionalExpr.getOperand2() ), cx, scope, source, lineNo );
				result = evalConditionalExpr( expression, ConditionalExpr.getOperator( ), Op1, Op2 ); 
			}
		}
		else
		{
			IScriptExpression jsExpr = (IScriptExpression) expr;
			if ( jsExpr.getText( ) != null && jsExpr.getHandle( ) != null )
			{
				result = ((CompiledExpression) jsExpr.getHandle( ) ).evaluate( cx, scope );
			}
			else
			{
				result = evaluateJSAsExpr( cx,
						scope,
						jsExpr.getText( ),
						source,
						lineNo );