Mercurial > lada > lada-server
changeset 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 | b3331bc71f30 |
children | 59b0e54426d4 |
files | src/main/java/de/intevation/lada/importer/laf/LafObjectMapper.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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");