changeset 761:3170fe2e7661

Forgot to store reference to edge. flys-backend/trunk@2111 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 14 Jun 2011 13:55:49 +0000
parents c8a2fbc612be
children 23fe9ac1c3b4
files flys-backend/ChangeLog flys-backend/src/main/java/de/intevation/flys/importer/ImportAnnotation.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/ChangeLog	Tue Jun 14 13:31:34 2011 +0000
+++ b/flys-backend/ChangeLog	Tue Jun 14 13:55:49 2011 +0000
@@ -1,3 +1,8 @@
+2011-06-14	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/importer/ImportAnnotation.java:
+	  Forgot to store reference to edge.
+
 2011-06-14	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	 * src/main/java/de/intevation/flys/backend/SessionFactoryProvider.java:
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportAnnotation.java	Tue Jun 14 13:31:34 2011 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportAnnotation.java	Tue Jun 14 13:55:49 2011 +0000
@@ -101,7 +101,7 @@
             query.setParameter("edge",      e);
             List<Annotation> annotations = query.list();
             if (annotations.isEmpty()) {
-                peer = new Annotation(r, a, p);
+                peer = new Annotation(r, a, p, e);
                 session.save(peer);
             }
             else {

http://dive4elements.wald.intevation.org