Bug 123576 Data can't be retrieved when exporting data
Description: Data can't be retrieved when exporting data Steps to reproduce: 1.Preview the attached file in Web Viewer 2.Exported the data in table Expected result: The data is exported as a CSV file Actual result: No data is retrieved
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/DataExtractionTask.java
}
	
	public IExtractionResults extract( ) throws EngineException
	{
		if ( currentResult != null )
			return currentResult;
		
		if( instanceId != null )
		{
			return extractByInstanceId( );
		}
		else if( resultSetName != null )
		{
			return extractByResultSetName( );
		}
		return null;
	}
	
	/*
	 * export result directly from result set name
	 */
	private IExtractionResults extractByResultSetName( ) throws EngineException
	{
		assert resultSetName != null;
		assert executionContext.getDataEngine() != null;
		
		prepareMetaData( );
		
		DataEngine dataEngine = executionContext.getDataEngine().getDataEngine();
		try