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

Can not bulk delete users

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.3, 2.1
    • Fix Version/s: 2.0.4, 2.1.1, 2.2
    • Component/s: Enrolments, Roles / Access
    • Labels:
      None
    • Environment:
      IIS 7.5 Win 2008R2 MS SQL 2008 R2
    • Database:
      Microsoft SQL
    • Testing Instructions:
      Hide

      1/ set up meta sync
      2/ use meta sync in several courses
      3/ modify the user enrolments in the source course - add/remove users and assign/unassign roles
      4/ delete users that synced

      Show
      1/ set up meta sync 2/ use meta sync in several courses 3/ modify the user enrolments in the source course - add/remove users and assign/unassign roles 4/ delete users that synced
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w28_MDL-28348_m22_meta

      Description

      Coding error detected, it must be fixed by a programmer: invalid enrol instance!

      When using Accounts
      Bulk User Admin

      Select Users using a filter
      Choose Delete

      I find that when I select to Delete the students I get the "Coding Error" detected message above.

      I am using LDAP for student authentication.

      Edit: I have discovered 2 more problems when fixing this issue
      1/ missing circular reference protection
      2/ roles were not unsassigned properly

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            jgcracknell James Cracknell
            Integrator:
            Sam Hemelryk
            Tester:
            David Mudrák (@mudrd8mz)
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              1/Aug/11