Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8.6, 1.9.2, 2.0
-
Component/s: Enrolments
-
Labels:None
-
Environment:LAMP
external database Oracle
-
Database:MySQL, Oracle
-
Affected Branches:MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
-
Fixed Branches:MOODLE_18_STABLE, MOODLE_19_STABLE
Description
enrolment sync doesn't work if external database is Oracle because database field names are UPPERCASE by default on oracle. We need to convert all retrieved fieldnames from the database into lowercase (all the enrolment code considers that database fieldnames are in lowercase)
QA
In order to retest:
- use Oracle and MySQL as external database
- if could you retest with PHP4, it would be great
- activate course>enrolment>external database plugin
- help yourself with the moodle docs: http://docs.moodle.org/en/External_database
- check that it works

Issue Links
| This issue will be resolved by: | ||||
| MDL-15175 | Moodle 1.8.2 db authentication not retrieving data. |
|
|
|
| This issue is duplicated by: | ||||
| MDL-14553 | Enrolment using remote database does not work if remote database fields are not in upper case |
|
|
|
| This issue has been marked as being related by: | ||||
| MDL-16045 | Enrolment sync doesn't work |
|
|
|
tested on 1.8 and 1.9 with external Oracle database and PHP5. fixed.
I'm writing a new issue for 2.0 as enrolment sync doesn't work anyway.