Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For the same turnitin_uid account, several records in turnitintooltwo_users with several Moodle's environments #715

Open
jmerinogranizo opened this issue Feb 14, 2024 · 0 comments

Comments

@jmerinogranizo
Copy link

Problem description
A user [email protected] with user.id=10 in Moodle environment 1, creates turnitintooltwo task and when accepting the turnitin conditions, a turnitin_uid account (for example 12345) is created and registered in the table turnitintooltwo_users with userid=10 and turnitin_uid=12345.

In another Moodle environment (2) there is a user [email protected] with user.id=10 who has not even accepted the Turnitin conditions so there is no record in turnitintooltwo_users.

The user [email protected] backs up the task in environment 1 and restores it in Moodle environment 2.

Somehow, I don't know yet, a record is created in turnitintooltwo_users with userid=10 and turnitin_uid=12345.

When the user [email protected] (user.id=200 in Moodle 2) makes a submission in Moodle 2, a record is created in turnitintooltwo_users with userid=200 and turnitin_uid=12345. There are two turnitintooltwo_users records with turnitin_uid=12345. And the submission may show that the submitting user is [email protected] instead of [email protected].

Actual Behavior

I have not been able to reproduce the problem but I know these cases are occurring.

Environment

$plugin->version = 2023032701;
$plugin->release = "3.1+";

For Moodle 4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants