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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.9
    • None
    • Enrolments
    • None
    • 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

              Unassigned Unassigned
              dmonllao David Monllaó
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: