summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpshi2011-11-24 01:48:35 (EST)
committer mwu2011-11-24 01:48:35 (EST)
commit571038c7543030939b6cdb94eb2b04e46b6b1550 (patch)
tree7f14d0b0ff0018385faadbd331b42b6255e11732
parentaedbbf6fb30076d788b43670bb70817c7c94dd79 (diff)
downloadorg.eclipse.birt-571038c7543030939b6cdb94eb2b04e46b6b1550.zip
org.eclipse.birt-571038c7543030939b6cdb94eb2b04e46b6b1550.tar.gz
org.eclipse.birt-571038c7543030939b6cdb94eb2b04e46b6b1550.tar.bz2
fix ted bug 45450, if the time function use fixed date, do not validate
on xtab
-rw-r--r--data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/QueryValidator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/QueryValidator.java b/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/QueryValidator.java
index 72de418..6aedc59 100644
--- a/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/QueryValidator.java
+++ b/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/QueryValidator.java
@@ -96,7 +96,7 @@ public class QueryValidator
.getTimeDimension( );
QueryValidator.validateTimeFunction( cubeHandle,
binding.getTimeFunction( ) );
- if ( dimensionMap.containsKey( dimensionName ) )
+ if ( dimensionMap.containsKey( dimensionName ) && binding.getTimeFunction().getReferenceDate() == null )
{
QueryValidator.validateTimeFunction( dimensionMap.get( dimensionName ),
cubeHandle,