Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)

66052: ACE-1154: Outcome of the Review and Approve task is not displayed in the "My Completed Task" component.
   Reverse Merge: unapproved solution was committed to the head branch but should to dev firstly.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66291 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2014-04-02 22:38:24 +00:00
parent 330a5c3465
commit 6c50dfa622
2 changed files with 4 additions and 14 deletions

View File

@@ -22,7 +22,6 @@ import org.springframework.extensions.surf.util.I18NUtil;
public class WorkflowTaskNode extends TransientMapNode {
private static final long serialVersionUID = 1L;
private static final String DEFAULT_TRANSITION_TITLE = "bpm_businessprocessmodel.transition.title";
private Map<String, Object> propertyWrapper;
private WorkflowTask workflowTask;
@@ -58,13 +57,11 @@ public class WorkflowTaskNode extends TransientMapNode {
{
outcome = transition;
}
if (outcome != null)
{
propertyWrapper.put("outcome", outcome);
}
}
//ACE-1154
if (outcome == null)
{
outcome = I18NUtil.getMessage(DEFAULT_TRANSITION_TITLE);
}
propertyWrapper.put("outcome", outcome);
// add the workflow instance id and name this taks belongs to
propertyWrapper.put("workflowInstanceId", workflowTask.getPath().getInstance().getId());