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

We are not using component + itemid for self enrolments

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_23_STABLE

      Description

      Right now both the self and the manual enrol plugins lead to the creation of ras with empty component and itemid.

      While it may be considered a border case to have both plugins enabled in the same course, it's not impossible, so at some point we aren't going to know which enrol plugin belongs to a given ra in a deterministic way.

      So the idea is to start using the component and itemid for self enrol instances for better differentiation in the future.

      Speaking generally, any enrol plugin (core or 3rd part) but "manual" should be always using component + itemid when creating ras. As simple as that.

      (this comes from MDL-35062 and MDL-35063, where sync of ras was implemented for the manual and self enrol plugins)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: