[Lada-commits] [PATCH] Removed check for ort_id in messprogramm validation
Wald Commits
scm-commit at wald.intevation.org
Fri Jan 27 15:55:12 CET 2017
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1485528908 -3600
# Node ID 7ae0fa505abbcfcd90503484211de78d9fbb51c2
# Parent 38059e566aba7db1c3291043d01cf371d7a3f27c
Removed check for ort_id in messprogramm validation.
diff -r 38059e566aba -r 7ae0fa505abb src/main/java/de/intevation/lada/validation/rules/messprogramm/HasAllMandatory.java
--- a/src/main/java/de/intevation/lada/validation/rules/messprogramm/HasAllMandatory.java Fri Jan 27 15:44:30 2017 +0100
+++ b/src/main/java/de/intevation/lada/validation/rules/messprogramm/HasAllMandatory.java Fri Jan 27 15:55:08 2017 +0100
@@ -54,9 +54,6 @@
if (messprogramm.getGueltigBis() == null) {
violation.addError("gueltigBis", 631);
}
- if (messprogramm.getOrtId() == null) {
- violation.addError("ortId", 631);
- }
return violation.hasErrors()
? violation
More information about the Lada-commits
mailing list