summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-11-22 05:11:14 (EST)
committerSven Rottstock2012-11-22 05:11:14 (EST)
commitc01325cb20051cbc560c993dee5a1039aaac8941 (patch)
treef68b13f3e402f4f618a5c7da8b08313abe8e739d
parentaa6c2ee205bb98559a7efb6554bb003353b50b22 (diff)
downloadorg.eclipse.stardust.ui.web-c01325cb20051cbc560c993dee5a1039aaac8941.zip
org.eclipse.stardust.ui.web-c01325cb20051cbc560c993dee5a1039aaac8941.tar.gz
org.eclipse.stardust.ui.web-c01325cb20051cbc560c993dee5a1039aaac8941.tar.bz2
CRNT-26237 Pepper: Activity Property: The Application and sub process from other model do not persist.
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@61021 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java
index 42c531e..5bcdf82 100644
--- a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java
+++ b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java
@@ -368,11 +368,7 @@ public abstract class ModelElementUnmarshaller implements ModelUnmarshaller
String subprocessFullId = extractString(activityJson,
ModelerConstants.SUBPROCESS_ID);
- ProcessDefinitionType subProcessDefinition = getModelBuilderFacade().getProcessDefinition(
- getModelBuilderFacade().getModelId(subprocessFullId),
- getModelBuilderFacade().stripFullId(subprocessFullId));
-
- activity.setImplementationProcess(subProcessDefinition);
+ getModelBuilderFacade().setSubProcess(activity, subprocessFullId);
if (activityJson.has(ModelerConstants.SUBPROCESS_MODE_PROPERTY))
{