summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlzhang2011-12-05 02:54:33 (EST)
committer mwu2011-12-05 02:54:33 (EST)
commit997849202de0b81700664cb7d5decd7f6c2ccced (patch)
tree82d8a033185724e3eacef00cd84d168a97cd3413
parent4d10f595f3e724f4129e7c0ce4fd2259ff8a6ac5 (diff)
downloadorg.eclipse.birt-997849202de0b81700664cb7d5decd7f6c2ccced.zip
org.eclipse.birt-997849202de0b81700664cb7d5decd7f6c2ccced.tar.gz
org.eclipse.birt-997849202de0b81700664cb7d5decd7f6c2ccced.tar.bz2
Checkin: Fix a issue about the population on the measure def for
calculated measures
-rw-r--r--data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataRequestSessionImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataRequestSessionImpl.java b/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataRequestSessionImpl.java
index 56ecd71..c4e8455 100644
--- a/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataRequestSessionImpl.java
+++ b/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataRequestSessionImpl.java
@@ -1675,10 +1675,10 @@ public class DataRequestSessionImpl extends DataRequestSession
{
IMeasureDefinition md = query.createMeasure( measureNames.get( j )
.toString( ) );
- if ( this.cubeHandleMap != null
- && this.cubeHandleMap.containsKey( query.getName( ) ) )
+ if ( this.cubeMetaDataHandleMap != null
+ && this.cubeMetaDataHandleMap.containsKey( query.getName( ) ) )
{
- CubeHandle cubeHandle = (CubeHandle) this.cubeHandleMap.get( query.getName( ) );
+ CubeHandle cubeHandle = (CubeHandle) this.cubeMetaDataHandleMap.get( query.getName( ) );
MeasureHandle measureHandle = cubeHandle.getMeasure( measureNames.get( j )
.toString( ) );
md.setAggrFunction( DataAdapterUtil.adaptModelAggregationType( measureHandle.getFunction( ) ) );