changeset 569:a60f2004d786

Fixed warning field name in validator rule.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 18 Mar 2015 15:31:42 +0100
parents e00c40b17a79
children 3d38d1fe9e88
files src/main/java/de/intevation/lada/validation/rules/probe/HasUmwelt.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/validation/rules/probe/HasUmwelt.java	Wed Mar 18 15:31:09 2015 +0100
+++ b/src/main/java/de/intevation/lada/validation/rules/probe/HasUmwelt.java	Wed Mar 18 15:31:42 2015 +0100
@@ -14,7 +14,7 @@
         if (probe.getUmwId() == null ||
             probe.getUmwId().equals("")) {
             Violation violation = new Violation();
-            violation.addWarning("uwb", 631);
+            violation.addWarning("umwId", 631);
             return violation;
         }
         return null;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)