-
Bug
-
Resolution: Fixed
-
Critical
-
2.2.1
-
Oracle
-
MOODLE_22_STABLE
-
MOODLE_22_STABLE
-
MDL-31804_ambiguous_sql -
With an Oracle database, when the 'Show user identity' setting (User policies) is set to 'Email address' and a teacher views the Grader report, an SQL error is thrown when the 'email' field is included twice:
Debug info: ORA-00918: column ambiguously defined
|
SELECT *
|
FROM (SELECT u.id,u.picture,u.firstname,u.lastname,u.imagealt,u.email, email
|
FROM z_user u
|
JOIN (SELECT DISTINCT eu1_u.id
|
...
|
It seems to have been introduced in MDL-26647. Patch to come shortly.