=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/reporttable/ReportTable.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/reporttable/ReportTable.java 2012-02-20 10:20:01 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/reporttable/ReportTable.java 2012-03-07 07:32:27 +0000 @@ -456,7 +456,7 @@ /** * Creates a map which contains mappings between the organisation unit - * identifier and the name of the group this organisation unit is a member + * uid and the name of the group this organisation unit is a member * of in all of the given group sets for all organisation units in this * report table. * @@ -469,13 +469,13 @@ for ( OrganisationUnitGroupSet groupSet : groupSets ) { - Map map = new HashMap(); + Map map = new HashMap(); for ( NameableObject unit : allUnits ) { if ( unit instanceof OrganisationUnit ) { - map.put( unit.getId(), ((OrganisationUnit) unit).getGroupNameInGroupSet( groupSet ) ); + map.put( unit.getUid(), ((OrganisationUnit) unit).getGroupNameInGroupSet( groupSet ) ); } } === modified file 'dhis-2/dhis-services/dhis-service-administration/src/main/resources/META-INF/dhis/beans.xml' --- dhis-2/dhis-services/dhis-service-administration/src/main/resources/META-INF/dhis/beans.xml 2012-02-29 09:21:50 +0000 +++ dhis-2/dhis-services/dhis-service-administration/src/main/resources/META-INF/dhis/beans.xml 2012-03-07 07:32:27 +0000 @@ -70,7 +70,6 @@ - === modified file 'dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/report/impl/DefaultReportService.java' --- dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/report/impl/DefaultReportService.java 2012-02-26 21:19:49 +0000 +++ dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/report/impl/DefaultReportService.java 2012-03-07 07:32:27 +0000 @@ -145,7 +145,7 @@ if ( report.isUsingOrganisationUnitGroupSets() ) { - params.putAll( reportTable.getOrganisationUnitGroupMap( organisationUnitGroupService.getCompulsoryOrganisationUnitGroupSets() ) ); + params.putAll( reportTable.getOrganisationUnitGroupMap( organisationUnitGroupService.getAllOrganisationUnitGroupSets() ) ); } print = JasperFillManager.fillReport( jasperReport, params, grid ); @@ -168,7 +168,7 @@ { JRExportUtils.export( type, out, print ); } - } + } catch ( Exception ex ) { throw new RuntimeException( "Failed to render report", ex );