[Lada-commits] [PATCH] Fixed attribute key in laf export

Wald Commits scm-commit at wald.intevation.org
Tue Nov 8 16:02:04 CET 2016


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1478617320 -3600
# Node ID 07631488e9c00c371fbbd810694f98993d176013
# Parent  fec7ba34cd1b0a614d003ff5648c647749e1d0c9
Fixed attribute key in laf export.

diff -r fec7ba34cd1b -r 07631488e9c0 src/main/java/de/intevation/lada/exporter/laf/LafCreator.java
--- a/src/main/java/de/intevation/lada/exporter/laf/LafCreator.java	Tue Nov 08 10:30:07 2016 +0100
+++ b/src/main/java/de/intevation/lada/exporter/laf/LafCreator.java	Tue Nov 08 16:02:00 2016 +0100
@@ -226,7 +226,7 @@
             }
             if (o.getOrtszusatztext() != null &&
                 o.getOrtszusatztext().length() > 0) {
-                laf += lafLine(type + "ORT_ZUSATZTEXT", o.getOrtszusatztext());
+                laf += lafLine(type + "ORTS_ZUSATZTEXT", o.getOrtszusatztext());
             }
             QueryBuilder<Ort> oBuilder =
                 new QueryBuilder<Ort>(
@@ -254,7 +254,7 @@
 
             if (sOrte.get(0).getOzId() != null &&
                 sOrte.get(0).getOzId().length() > 0) {
-                laf += lafLine(type + "ORT_ZUSATZCODE", sOrte.get(0).getOzId());
+                laf += lafLine(type + "ORTS_ZUSATZCODE", sOrte.get(0).getOzId());
             }
             if (sOrte.get(0).getHoeheUeberNn() != null) {
                 laf += lafLine(type + "HOEHE_NN",


More information about the Lada-commits mailing list