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

enrol_meta user_enrolments status should be synchronized if a parent course's enrolment visibility changes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.9
    • Fix Version/s: None
    • Component/s: Enrolments
    • Labels:
      None
    • Affected Branches:
      MOODLE_29_STABLE

      Description

      I found an unexpected behaviour (undesired IMO) I've noticed that, setting an enrol_meta to a parent course which contains enrol_manual users and this enrol_manual instance is disabled, user_enrolments in the child course are created as suspended. This make sense.

      But when the parent course enrol_manual's instance is enabled, user_enrolments are not synchronized and they remain suspended, although once I edit any of the child course user_enrolment's (changing any value, not just submitting the form) the user_enrolment is not suspended any more.

      I've experienced this in 2.9 dev, but I suspect it was designed like this so all maintained versions should be affected.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              dmonllao David Monllaó
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: