# HG changeset patch # User Felix Wolfsteller # 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 states = getStates(context); setCurrentState(states.get(0)); + + // Needed if cloning another artifact. + super.handleInitModel(data, context, callmeta); }