# HG changeset patch # User Torsten Irländer # Date 1375792021 -7200 # Node ID aadc0bb0dc1df81f09aeb0952005f416c1355267 # Parent 709d090eec0743db62c2265956748fbb1d370039 Fixed Issue53. On check unique Hauptprobennummer on create diff -r 709d090eec07 -r aadc0bb0dc1d src/main/java/de/intevation/lada/validation/LProbeValidator.java --- a/src/main/java/de/intevation/lada/validation/LProbeValidator.java Fri Jul 26 10:42:45 2013 +0200 +++ b/src/main/java/de/intevation/lada/validation/LProbeValidator.java Tue Aug 06 14:27:01 2013 +0200 @@ -57,7 +57,9 @@ validateEntnahmeOrt(p, warnings); validateProbenahmeBegin(p, warnings); validateUWB(p, warnings); - validateHauptProbenNummer(p, warnings); + if (!update) { + validateHauptProbenNummer(p, warnings); + } return warnings; }