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

Test that external DB auth and external DB enrol is working under all DBs

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8
    • Component/s: Authentication, Enrolments
    • Labels:
      None
    • Environment:
      Moodle 1.8 and any DB
    • Database:
      MySQL, PostgreSQL, Microsoft SQL, Oracle
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      I've performed some changes both in auth/db/auth.php and enrol/database/enrol.php

      The idea is that now we are using non-persistent connections for both plugins (because such connections "only" happen on login and enrol and not foreach request).

      Also, I've deleted one existing hack to avoid some problems when connecting to the same DB under mysql, replacing it by the use of the 5th parameter ($forceNew) set to true, so new connections will be always forced.

      Both changes have to be checked under the 4 currently supported DBs. Let's start tomorrow with them. But, if somebody checks them before, better.

        Attachments

          Activity

            People

            Assignee:
            stronk7 Eloy Lafuente (stronk7)
            Reporter:
            stronk7 Eloy Lafuente (stronk7)
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Mar/07