diff --git a/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java b/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java index 655b7a068c..4ed60116e7 100644 --- a/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java +++ b/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java @@ -1142,6 +1142,15 @@ public class SubmitDialog extends BaseDialogBean this.workflows.add(new FormWorkflowWrapper(defaultWfDef.getName(), fid.getForm().getDefaultWorkflowParameters())); } + + // See WCM-1090 ACT-1551 + // cannot depend on renditions of the form instance to contain the present + // node. Add it here if it hasn't been added by the above process. + if (!submittedPaths.contains(node.getPath())) + { + this.submitItems.add(new ItemWrapper(node)); + submittedPaths.add(node.getPath()); + } } } }