syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdisabat...@apache.org
Subject syncope git commit: [SYNCOPE-1365] Fix approval process
Date Wed, 05 Sep 2018 12:49:46 GMT
Repository: syncope
Updated Branches:
  refs/heads/2_1_X 38dc035f1 -> 272dc9790


[SYNCOPE-1365] Fix approval process


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/272dc979
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/272dc979
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/272dc979

Branch: refs/heads/2_1_X
Commit: 272dc9790eb097879266ff938caffecb367e0593
Parents: 38dc035
Author: Marco Di Sabatino Di Diodoro <marco.disabatino@tirasa.net>
Authored: Wed Sep 5 14:47:42 2018 +0200
Committer: Marco Di Sabatino Di Diodoro <marco.disabatino@tirasa.net>
Committed: Wed Sep 5 14:49:25 2018 +0200

----------------------------------------------------------------------
 .../core/workflow/flowable/FlowableUserWorkflowAdapter.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/272dc979/core/workflow-flowable/src/main/java/org/apache/syncope/core/workflow/flowable/FlowableUserWorkflowAdapter.java
----------------------------------------------------------------------
diff --git a/core/workflow-flowable/src/main/java/org/apache/syncope/core/workflow/flowable/FlowableUserWorkflowAdapter.java
b/core/workflow-flowable/src/main/java/org/apache/syncope/core/workflow/flowable/FlowableUserWorkflowAdapter.java
index 94e7127..d71d8c2 100644
--- a/core/workflow-flowable/src/main/java/org/apache/syncope/core/workflow/flowable/FlowableUserWorkflowAdapter.java
+++ b/core/workflow-flowable/src/main/java/org/apache/syncope/core/workflow/flowable/FlowableUserWorkflowAdapter.java
@@ -623,7 +623,7 @@ public class FlowableUserWorkflowAdapter extends AbstractUserWorkflowAdapter
{
 
             forms = getForms(engine.getTaskService().createTaskQuery().
                     taskVariableValueEquals(TASK_IS_FORM, Boolean.TRUE).
-                    taskCandidateOrAssigned(user.getKey()), page, size, orderByClauses);
+                    taskCandidateOrAssigned(user.getUsername()), page, size, orderByClauses);
 
             List<String> candidateGroups = new ArrayList<>();
             userDAO.findAllGroupNames(user).forEach(group -> {


Mime
View raw message