# HG changeset patch # User Torsten Irländer # Date 1370611139 -7200 # Node ID 750e284adc6555118f98ba42e2cf570ea0936eee # Parent 36b2191c3fcbdd7e9ebdc22dcf0e233f59cb2da4 Set success to false if the item can not be loaded (not found) by its id. diff -r 36b2191c3fcb -r 750e284adc65 src/main/java/de/intevation/lada/data/Repository.java --- a/src/main/java/de/intevation/lada/data/Repository.java Fri Jun 07 15:18:23 2013 +0200 +++ b/src/main/java/de/intevation/lada/data/Repository.java Fri Jun 07 15:18:59 2013 +0200 @@ -70,6 +70,7 @@ T item = em.find(clazz, id); if (item == null) { this.setGeneralError(600); + this.setSuccess(false); } return item; }