[PATCH 2 of 2] Partial fix issue1532: at least clone artifacts data when cloning
Wald Commits
scm-commit at wald.intevation.org
Tue Feb 11 16:17:06 CET 2014
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1392131937 -3600
# Node ID cfa7e2164f87c41243b4324282f700c63d046894
# Parent 56001dce01dd29de0ec2ad113afc15dda26677c3
Partial fix issue1532: at least clone artifacts data when cloning
a MapArtifact.
diff -r 56001dce01dd -r cfa7e2164f87 artifacts/src/main/java/org/dive4elements/river/artifacts/MapArtifact.java
--- 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);
}
More information about the Dive4elements-commits
mailing list