Uploaded image for project: 'Publication Task Configuration'
  1. Publication Task Configuration
  2. PUBTSKCONF-3

auto-approve as a subgroup is not working with SSO module

    XMLWordPrintable

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

            Activity

              People

                rgange Richard Gange
                rgange Richard Gange
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 0.75h
                      0.75h