Online texts and files can be collected and published via the Student Folder activity and thus made available to everyone in a Moodle course. Submissions can be made directly by uploading or alternatively can be taken over by teachers from an assignment activity.
I am maintaining Moodle v3.9.11 running mod_publication v3.9.0 based on SQL Server (MSSQL) database.
A teacher gets the following error by entering the student folder activity → Ambiguous column name 'email'.
I figured out, the problem results from the doubled u.name column (with aliased table prefix) addressed within the SELECT statement. Because of that the ORDER BY statement can′t decide which one to order by, because the email column lacks its aliased table prefix.
I am maintaining Moodle v3.9.11 running mod_publication v3.9.0 based on SQL Server (MSSQL) database.
A teacher gets the following error by entering the student folder activity → Ambiguous column name 'email'.
I figured out, the problem results from the doubled
u.name
column (with aliased table prefix) addressed within theSELECT
statement. Because of that theORDER BY
statement can′t decide which one to order by, because theemail
column lacks its aliased table prefix.