Mercurial > lada > lada-server
changeset 882:2e9007297e78
merged
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 12 Feb 2016 12:10:09 +0100 |
parents | 501ccddaeaca (diff) 2311374cc3e8 (current diff) |
children | 2e264556f186 |
files | src/main/java/de/intevation/lada/rest/StatusService.java |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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) {