=== modified file 'dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/java/org/hisp/dhis/dashboard/provider/MapViewContentProvider.java' --- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/java/org/hisp/dhis/dashboard/provider/MapViewContentProvider.java 2011-01-17 13:36:43 +0000 +++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/java/org/hisp/dhis/dashboard/provider/MapViewContentProvider.java 2011-01-17 13:59:19 +0000 @@ -31,6 +31,7 @@ import static org.hisp.dhis.options.SystemSettingManager.DEFAULT_AGGREGATION_STRATEGY; import static org.hisp.dhis.options.SystemSettingManager.KEY_AGGREGATION_STRATEGY; +import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; @@ -99,7 +100,7 @@ { DashboardContent dashboardContent = dashboardService.getDashboardContent( user ); - List mapViews = dashboardContent.getMapViews(); + List mapViews = new ArrayList( dashboardContent.getMapViews() ); String aggregationStrategy = (String) systemSettingManager.getSystemSetting( KEY_AGGREGATION_STRATEGY, DEFAULT_AGGREGATION_STRATEGY );