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

71587: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
      70327: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
         70241: MNT-10122: Merged DEV to V4.1-BUG-FIX (4.1.9)
            63046: MNT-10122 Related to MNT-2234 - Incorrect workflow history when using jBPM
             - In JBPMEngine.getTaskProperties() was added ContentModel.PROP_CREATOR property. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@74687 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Will Abson
2014-06-25 15:09:49 +00:00
parent 8bc7a8f0f5
commit b703c1de1f

View File

@@ -2934,6 +2934,7 @@ public class JBPMEngine extends AlfrescoBpmEngine implements WorkflowEngine
properties.put(WorkflowModel.PROP_PRIORITY, instance.getPriority()); properties.put(WorkflowModel.PROP_PRIORITY, instance.getPriority());
properties.put(ContentModel.PROP_CREATED, instance.getCreate()); properties.put(ContentModel.PROP_CREATED, instance.getCreate());
properties.put(ContentModel.PROP_OWNER, instance.getActorId()); properties.put(ContentModel.PROP_OWNER, instance.getActorId());
properties.put(ContentModel.PROP_CREATOR, AuthenticationUtil.getFullyAuthenticatedUser());
// map jBPM comments // map jBPM comments
// NOTE: Only use first comment in list // NOTE: Only use first comment in list