Mercurial > lada > lada-server
diff src/main/java/de/intevation/lada/importer/laf/LafObjectMapper.java @ 1220:faa6a2117d1e
Do not try to create a new Ort if coordinate transformation failed.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 09 Dec 2016 12:26:10 +0100 |
parents | 6e393b614edf |
children | 59b0e54426d4 |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/importer/laf/LafObjectMapper.java Fri Dec 09 12:08:19 2016 +0100 +++ b/src/main/java/de/intevation/lada/importer/laf/LafObjectMapper.java Fri Dec 09 12:26:10 2016 +0100 @@ -842,6 +842,7 @@ } if (ortFactory.hasErrors()) { currentErrors.addAll(ortFactory.getErrors()); + return null; } repository.create(ort, "stamm");