Moodle

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

Details

  • Type: Task Task
  • Status: Closed Closed
  • Priority: Blocker 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.

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

auth checked against MySQL, PostgreSQL and MSSQL databases.

Going to enrol now...

Show
Eloy Lafuente (stronk7) added a comment - auth checked against MySQL, PostgreSQL and MSSQL databases. Going to enrol now...
Hide
Eloy Lafuente (stronk7) added a comment -

enrol tested against MySQL, PostgreSQL and MSSQL DBs. Working.

I only have noticed http://tracker.moodle.org/browse/MDL-8285 but this is closed now.

Ciao

Show
Eloy Lafuente (stronk7) added a comment - enrol tested against MySQL, PostgreSQL and MSSQL DBs. Working. I only have noticed http://tracker.moodle.org/browse/MDL-8285 but this is closed now. Ciao

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: