Uploaded image for project: 'Opencast'
  1. MH-13501

Filter loadUser lookups to the Sakai user provider with the user pattern

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 6.4
    • Fix versions: 6.5
    • Components: Backend Software

      Description

      If you edit presenter metadata, Opencast tries to resolve the presenter name as a user, for example:

      at org.opencastproject.userdirectory.UserAndRoleDirectoryServiceImpl.loadUser(UserAndRoleDirectoryServiceImpl.java:263)
      at org.opencastproject.index.service.impl.IndexServiceImpl.getTechnicalPresenters(IndexServiceImpl.java:1329)
      at org.opencastproject.index.service.impl.IndexServiceImpl.updatePresenters(IndexServiceImpl.java:1022)
      at org.opencastproject.index.service.impl.IndexServiceImpl.createEvent(IndexServiceImpl.java:877)
      

      This leads to loadUser() from user providers being called with what is usually a descriptive name (firstname lastname), not a username.

      Apply the user pattern regexp to filter these so the user provider doesn't attempt to resolve them.

        TestRail: Results

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                smarquard Stephen Marquard
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  TestRail: Cases