changeset 7747:cfa7e2164f87

Partial fix issue1532: at least clone artifacts data when cloning a MapArtifact.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 11 Feb 2014 16:18:57 +0100
parents 56001dce01dd
children 316a9eeb0836
files artifacts/src/main/java/org/dive4elements/river/artifacts/MapArtifact.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/MapArtifact.java	Tue Feb 11 16:18:11 2014 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/MapArtifact.java	Tue Feb 11 16:18:57 2014 +0100
@@ -52,6 +52,9 @@
         List<State> states = getStates(context);
 
         setCurrentState(states.get(0));
+
+        // Needed if cloning another artifact.
+        super.handleInitModel(data, context, callmeta);
     }
 
 

http://dive4elements.wald.intevation.org