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

MDL-9012 has partially wrong fix

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.7.3
    • 1.7.2
    • Enrolments
    • None
    • Any
    • MOODLE_17_STABLE
    • MOODLE_17_STABLE

      The patch provided is partially wrong. I copy & pasted the code from sync_enrolments and forgot to adjust a few variable names.

      As a result, there are several places where we use $extcourse which is not defined in the contextd it's used, so we use an empty value for several critical course fields ($CFG->enrol_localcoursefield, fullname and shortname.).

      So we need to rename all those $extcourse to $coursefield. The attached patch does it.

      Sorry for the (big) mistake. Btw, we need to apply this to HEAD too.

      Saludos. Iñaki.

            skodak Petr Skoda
            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.