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

Course autocreation doesn't work in enrol/database

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.7.2, 1.8, 1.9
    • 1.7.1, 1.8
    • Enrolments
    • None
    • MOODLE_17_STABLE, MOODLE_18_STABLE
    • MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      Current code doesn't auto-create courses in enrol/database unless you explicitly use enrol_database_sync.php script. It seems the code to auto-create courses is just present in sync_enrolments(). setup_enrolments() just tests if the course exists or not, and if it doesn't it simply skips it instead of creating it.

      I'll attach a patch for this in a few hours (it's a bit late here

      Saludos. Iñaki.

            lazyfish Yu Zhang
            iarenaza Iñaki Arenaza
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.