=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/AbstractCrudController.java' --- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/AbstractCrudController.java 2014-12-08 15:40:55 +0000 +++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/AbstractCrudController.java 2014-12-11 14:10:11 +0000 @@ -573,6 +573,7 @@ // if it already contains this object, don't add it. It might be a list and not set, and we don't want duplicates. if ( identifiableObjects.contains( candidate ) ) { + response.setStatus( HttpServletResponse.SC_NO_CONTENT ); return; // nothing to do, just return with OK }