Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83122

Matrix exception when deleting a user

XMLWordPrintable

    • MOODLE_404_STABLE, MOODLE_405_STABLE
    • MOODLE_404_STABLE
    • MDL-83122-404
    • MDL-83122-main
    • Hide

      Setup

      1. Create some users and courses, feel free to use "Make test course"
      2. Enable communication providers in experimental setting: Site administration > Development > Experimental settings > Enable communication providers

      Actual test

      1. Navigate to:  Site administration > Users > Browse list of users
      2. Click the three dots on the right hand of any user
      3. Select Delete
      4. Click Delete on the modal
      5. Confirm the user is deleted and no other error is thrown.

       

      Show
      Setup Create some users and courses, feel free to use "Make test course" Enable communication providers in experimental setting: Site administration > Development > Experimental settings > Enable communication providers Actual test Navigate to:  Site administration > Users > Browse list of users Click the three dots on the right hand of any user Select Delete Click Delete on the modal Confirm the user is deleted and no other error is thrown.  
    • 1
    • Team Hedgehog 2024 Sprint 3.2, Team Hedgehog 2024 Sprint 3.3
    • Small

      Discovered by dag while testing MDLQA-19266

      I've managed to replicate the problem on the QA site, here's the steps:

      1. As the admin go to Site administration / Users / Privacy and policies / Privacy settings.
      2. Ensure that "Automatic data deletion request approval" and "Create automatic data deletion requests" are enabled.
      3. As a student in the course and participate in a few activities, including adding a new discussion topic in the forum and replying to a forum post.
      4. As an administrator and go to Site administration / Users / Accounts / Browse list of users and delete the "Sam student" user.
      5. The following exception will be displayed:

            safat.shahin@moodle.com Safat Shahin
            lameze Simey Lameze
            David Woloszyn David Woloszyn
            Huong Nguyen Huong Nguyen
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 55 minutes
                1h 55m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.