Details
-
Bug
-
Resolution: Won't Do
-
Neutral
-
None
-
6.1.1
-
None
Description
With SSO user management configured the changes applied in PUBTSKCONF-2 are not working. When trying to get the user the following error is thrown in the logs.
ERROR info.magnolia.workflow.jbpm.humantask.handler.AutoApprovableHumanTaskWorkItemHandler 17.11.2021 15:35:28 -- Could not retrieve task definition. java.lang.NullPointerException: null at info.magnolia.workflow.jbpm.humantask.handler.AutoApprovableHumanTaskWorkItemHandler.executeWorkItem(AutoApprovableHumanTaskWorkItemHandler.java:91) ~[magnolia-publication-task-config-6.1.1.jar:?]
Notes:
The problem stems from not getting the correct user manager when attempting to retrieve the user. We will need to call:
securitySupport.getUserManager("sso-authentication")
then cast it as an SsoUserManager.
Checklists
Acceptance criteria
Attachments
Issue Links
- is depended upon by
-
PUBTSKCONF-4 Missing requestor throws null pointer
-
- Closed
-
- is related to
-
PUBTSKCONF-2 Allow auto-approve to exist as a subgroup of a configured groupMapping
-
- Closed
-