# HG changeset patch # User Raimund Renkert # Date 1455275409 -3600 # Node ID 2e9007297e78ce52c524227c9d9023aa9918a794 # Parent 501ccddaeacae993db2a1a1ad7a9aea82a82a02e# Parent 2311374cc3e858bac309ab050622a3b18752576a merged diff -r 2311374cc3e8 -r 2e9007297e78 src/main/java/de/intevation/lada/rest/StatusService.java --- a/src/main/java/de/intevation/lada/rest/StatusService.java Thu Feb 11 16:25:46 2016 +0100 +++ b/src/main/java/de/intevation/lada/rest/StatusService.java Fri Feb 12 12:10:09 2016 +0100 @@ -226,6 +226,9 @@ UserInfo userInfo = authorization.getInfo(request); LMessung messung = defaultRepo.getByIdPlain( LMessung.class, status.getMessungsId(), "land"); + if (lock.isLocked(messung)) { + return new Response(false, 697, null); + } boolean next = false; boolean change = false; if (messung.getStatus() == null) {