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

bulk enrolment actions fail when multiple instances of plugin present

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.6
    • Fix Version/s: None
    • Component/s: Enrolments
    • Labels:
    • Affected Branches:
      MOODLE_36_STABLE

      Description

      Bulk enrolment actions (e.g. initiated from user/index.php) fail when multiple instances of the same plugin are present for a course. In our case, we have several different self-enrolment possibilities, and attempts to bulk-unenrol fail.

      The cause is that the "plugin" parameter being passed to enrol/action-redir.php is inadequate to describe the instance, and action-redir.php identifies and obtains a manager object for the wrong one, subsequently finding no matching userids and removing the specified users from the list upon which it should act.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            nwpotago Nick Phillips
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: