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
Iterator resultSetIter = resultSetList.iterator();
			while (resultSetIter.hasNext()) {
				String resultSetName = (String) resultSetIter.next();
				mapDispNameToResultSetName.put(displayName, resultSetName);
				this.mapResultSetNameToQuery.put( resultSetName, query );
			}
		}
		
		isMetaDataPrepared = true;
	}
	
	/*
	 * load map from query id to result set id from report document.
	 */
	private void loadResultSetMetaData( ) throws EngineException
	{
		IDocArchiveReader reader = reportDocReader.getArchive( );
		try
		{
			DataInputStream dis = new DataInputStream( reader 
					.getStream( AbstractDataEngine.DATA_META_STREAM ));
			
			mapQueryIDToResultSetName = new HashMap( );
			int size = IOUtil.readInt( dis );
			for( int i=0; i<size; i++ )
			{
				String queryId = IOUtil.readString( dis );
				LinkedList ridList = new LinkedList( );
				readStringList( dis, ridList );
				mapQueryIDToResultSetName.put( queryId, ridList );