dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #42493
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21718: Analytics, fixed NPE related to program data items
------------------------------------------------------------
revno: 21718
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2016-01-14 11:37:30 +0100
message:
Analytics, fixed NPE related to program data items
modified:
dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultAnalyticsService.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultAnalyticsService.java'
--- dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultAnalyticsService.java 2016-01-04 02:27:49 +0000
+++ dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultAnalyticsService.java 2016-01-14 10:37:30 +0000
@@ -470,6 +470,7 @@
DataDimensionItemType.PROGRAM_ATTRIBUTE, DataDimensionItemType.PROGRAM_INDICATOR );
EventQueryParams eventQueryParams = EventQueryParams.fromDataQueryParams( dataSourceParams );
+ eventQueryParams.setSkipMeta( true );
Grid eventGrid = eventAnalyticsService.getAggregatedEventData( eventQueryParams );