=== modified file 'dhis-2/dhis-web/dhis-web-api-mobile/src/main/java/org/hisp/dhis/api/mobile/controller/MobileOrganisationUnitController.java' --- dhis-2/dhis-web/dhis-web-api-mobile/src/main/java/org/hisp/dhis/api/mobile/controller/MobileOrganisationUnitController.java 2012-08-09 09:43:27 +0000 +++ dhis-2/dhis-web/dhis-web-api-mobile/src/main/java/org/hisp/dhis/api/mobile/controller/MobileOrganisationUnitController.java 2012-10-12 18:20:54 +0000 @@ -104,7 +104,8 @@ public String saveActivityReport2_8( @PathVariable int id, @RequestBody ActivityValue activityValue ) throws NotAllowedException { - activityReportingService.saveActivityReport( getUnit( id ), activityValue ); + //FIXME set the last argument to 0 to fix compilation error + activityReportingService.saveActivityReport( getUnit( id ), activityValue, 0 ); return ACTIVITY_REPORT_UPLOADED; } @@ -210,7 +211,8 @@ public String saveActivityReport( @PathVariable int id, @RequestBody ActivityValue activityValue ) throws NotAllowedException { - activityReportingService.saveActivityReport( getUnit( id ), activityValue ); + //FIXME set the last argument to 0 to fix compilation error + activityReportingService.saveActivityReport( getUnit( id ), activityValue, 0 ); return ACTIVITY_REPORT_UPLOADED; } @@ -220,7 +222,7 @@ throws NotAllowedException { ActivityPlan activityPlan = activityReportingService.getActivitiesByIdentifier( identifier ); - ; + activityPlan.setClientVersion( DataStreamSerializable.TWO_POINT_NINE ); return activityPlan; }