Mercurial > lada > lada-server
changeset 277:aadc0bb0dc1d
Fixed Issue53. On check unique Hauptprobennummer on create
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 06 Aug 2013 14:27:01 +0200 |
parents | 709d090eec07 |
children | 8a66802aa09b |
files | src/main/java/de/intevation/lada/validation/LProbeValidator.java |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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; }