dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #33670
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17228: set NO_CONTENT on TrackedEntityAttribute DELETE (unless there is an error)
------------------------------------------------------------
revno: 17228
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-10-23 15:21:50 +0700
message:
set NO_CONTENT on TrackedEntityAttribute DELETE (unless there is an error)
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/event/TrackedEntityAttributeController.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-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/event/TrackedEntityAttributeController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/event/TrackedEntityAttributeController.java 2014-10-21 13:31:06 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/event/TrackedEntityAttributeController.java 2014-10-23 08:21:50 +0000
@@ -197,6 +197,7 @@
return;
}
+ response.setStatus( HttpServletResponse.SC_NO_CONTENT );
trackedEntityAttributeService.deleteTrackedEntityAttribute( trackedEntityAttribute );
}
}