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

Site Info > Manage Participants > Filter View by Role > Remove User Returns Erroneous Error

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 19.1, 19.2, 20.0 [Tentative]
    • Fix Version/s: 19.3, 20.0 [Tentative]
    • Component/s: Site Info
    • Labels:
    • 19 status:
      Verified
    • Test Plan:
      Hide

      Confirm that you are in a site that contains some manually added users in a student role (i.e. some "student" users not added by a roster). Then do the following:

      1. Go to "Site Info."
      2. Select the "Manage Participants" tab.
      3. Click the "View" drop-down filter and select "Student (role)."
      4. On the resulting list, click the "Remove" checkbox next to any single student user.
      5. Click "Update Participants."
      6. You will see an error that says "Cannot inactivate last user with role 'Instructor'' and the user you selected doesn't get removed from the site.
      Show
      Confirm that you are in a site that contains some manually added users in a student role (i.e. some "student" users not added by a roster). Then do the following: Go to "Site Info." Select the "Manage Participants" tab. Click the "View" drop-down filter and select "Student (role)." On the resulting list, click the "Remove" checkbox next to any single student user. Click "Update Participants." You will see an error that says "Cannot inactivate last user with role 'Instructor'' and the user you selected doesn't get removed from the site.

      Description

      Removing non-provided users after filtering the table data presents erroneous error about not being able to remove the last instructor in the site.

      Please see the attached video below for a demonstration.

      Note: If you attempt to remove the user WITHOUT first filtering the "view" drop-down (i.e. leaving it as "All Participants"), then it works as expected.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bjones86 Brian Jones
                  Reporter:
                  jbuckin2 John C Buckingham
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code