Open ghost opened 3 years ago
This looks like a regression. On our production Moodle site (3.6.3), using plagiarism plugin 2019031301
, this all works correctly.
We've done some further testing and investigation. The cause seems to be when a user has both the student and teacher role within a course. The plugins cannot determine which individual user to attribute the submission to. I believe this is a result of checking for the mod/assign:grade
capability in https://github.com/turnitin/moodle-plagiarism_turnitin/blob/master/lib.php#L1628.
plagiarism_turnitin
plugin version: 2020072201mod_turnitintooltwo
plugin version: 2020072201When making a submission to a Moodle assignment as a student, with "Student submit in groups" set to yes, we get a database exception. This prevents the submission from being sent to TurnItIn.
We also receive notices on the assignment list page, which appear to be related: