[Lada-commits] [PATCH] Map warning to existing client field and introduce new code

Wald Commits scm-commit at wald.intevation.org
Wed Feb 8 18:32:21 CET 2017


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1486575129 -3600
# Node ID d48e1636fb0b4a28cf6c56cb3992eba9135d2908
# Parent  14876c62f6920e336ef22eb77fb8a7b709250edc
Map warning to existing client field and introduce new code.

diff -r 14876c62f692 -r d48e1636fb0b src/main/java/de/intevation/lada/validation/rules/ort/CoordinatesInVE.java
--- a/src/main/java/de/intevation/lada/validation/rules/ort/CoordinatesInVE.java	Wed Feb 08 18:02:05 2017 +0100
+++ b/src/main/java/de/intevation/lada/validation/rules/ort/CoordinatesInVE.java	Wed Feb 08 18:32:09 2017 +0100
@@ -62,7 +62,7 @@
                 vg.getQuery(), "stamm");
             if (vgs == null || vgs.isEmpty()) {
                 Violation violation = new Violation();
-                violation.addWarning("verwaltungsgrenze", 600);
+                violation.addWarning("gemId", 650);
                 return violation;
             }
 


More information about the Lada-commits mailing list