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

[PATCH] Database enrolment plug-in not syncing user courses with Oracle during login

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 1.9
    • Enrolments
    • None
    • Oracle
    • MOODLE_19_STABLE

      ADODB forces all the fields in a query result object to be upper-case with the Oracle driver. During the setup_enrolments() method, the database enrolment plug-in is specifically looking for a field name ("enrolremotecoursefield") using lower-case when synchronizing user enrolments during login. This is perhaps a problem with the Oracle ADODB driver but as a fix for the enrolment plug-in, I have a patch here that works which looks for the field name in either lower or upper-case.

            stronk7 Eloy Lafuente (stronk7)
            jfilip Justin Filip
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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