Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-14713

Default group provider needs to handle IdNotFoundException from canceled sections

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.5.0, 2.5.2, 2.5.3, 2.5.4, 2.5.5, 2.5.6, 2.6.0, 2.6.1, 2.6.2
    • Fix Version/s: 2.5.7 [tentative], 2.6.3, 2.7.0
    • Component/s: Providers
    • Labels:
      None

      Description

      By default, AuthzGroupService getAuthzGroup ends up calling CourseManagementGroupProvider, which loops around a set of provider IDs and calls CourseManagementService getSection for each. If any of the sections have been canceled or deleted since the site was first set up, getSection will throw IdNotFoundException.

      In both 2.5.x and 2.6.x, the default group provider does not handle that exception, resulting in an interrupted call.

      Instead the provider should follow the same logic as Roster's StatusRequestCache init() method, logging the exception but continuing the loop.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                raydavis Ray Davis (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code