[Lada-commits] [PATCH 6 of 6] Fixed messung delete operation

Wald Commits scm-commit at wald.intevation.org
Wed Apr 8 10:45:44 CEST 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1428482755 -7200
# Node ID 328dd57b7b43537525821eb837b952c54275e342
# Parent  ddab1ecb2898a23d3944df89702e4b393f8de633
Fixed messung delete operation.

diff -r ddab1ecb2898 -r 328dd57b7b43 src/main/java/de/intevation/lada/rest/MessungService.java
--- a/src/main/java/de/intevation/lada/rest/MessungService.java	Wed Apr 08 10:45:27 2015 +0200
+++ b/src/main/java/de/intevation/lada/rest/MessungService.java	Wed Apr 08 10:45:55 2015 +0200
@@ -195,7 +195,7 @@
         LMessung messungObj = (LMessung)messung.getData();
         if (!authorization.isAuthorized(
                 request,
-                messung,
+                messungObj,
                 RequestMethod.DELETE,
                 LMessung.class)
         ) {


More information about the Lada-commits mailing list