-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
-
-
-
-
-
NEW
-
NEW
-
Undefined
-
-
2021 Week 28-30 (from Jul 12), 2021 Week 31-33 (from Aug 2)
running endpoint to receive tasks of potential owner from specific case is not returning any information.
Running the same endpoint with the actual potential owner works as expected.
Is expected that running the endpoint with admin user and bypass enabled would return the tasks of potential owner.
Maybe relevant:
jbpm-case-mgmt/jbpm-case-mgmt-impl/src/main/java/org/jbpm/casemgmt/impl/CaseRuntimeDataServiceImpl.java 637:9: params.put("groupIds", getAuthenticatedUserRoles(identityProvider)); 650:9: params.put("groupIds", getAuthenticatedUserRoles(identityProvider)); 662:9: params.put("groupIds", getAuthenticatedUserRoles(identityProvider)); jbpm-services/jbpm-kie-services/src/main/java/org/jbpm/kie/services/impl/RuntimeDataServiceImpl.java 838:9: params.put("groupIds", getCallbackUserRoles(userGroupCallback, userId)); 851:9: params.put("groupIds", mergeLists(groupIds, getCallbackUserRoles(userGroupCallback, userId))); 862:9: params.put("groupIds", mergeLists(groupIds, getCallbackUserRoles(userGroupCallback, userId))); 874:9: params.put("groupIds", getCallbackUserRoles(userGroupCallback, userId)); 974:9: params.put("groupIds", getCallbackUserRoles(userGroupCallback, userId));
Should CaseRuntimeDataServiceImpl use getCallbackUserRoles instead of getAuthenticatedUserRoles as RuntimeDataServiceImpl?
- clones
-
RHPAM-3778 Getting potential owners for a case task
- Closed
- relates to
-
JBPM-9838 "Getting case tasks" returns empty list with bypass enabled and user is not present
- Resolved