ronefel / moodle-mod_googlemeet

Google Meet resource module plugin for Moodle 3.7+
Other
19 stars 15 forks source link

the googlemeet_records table is being written with duplicated registers but with different googlemeetid #33

Open Arvaloez opened 1 year ago

Arvaloez commented 1 year ago

Hello Rone, As the title says, When the sync process finishes, the records report shows all the records of that room but also records from other rooms. I was checking the problem and I found that the googlemeet_records table has duplicated records but with different googlemeetid. In the attached image, there is a capture of that table with two duplicated records but with different googlemeetid (the second column).

Screenshot 2023-08-23 at 8 30 49 AM

ronefel commented 10 months ago

Hello Alexandre, sorry for the delay in responding to you, I have other projects and I am not able to give the necessary attention to this project.

This problem occurs when backing up and restoring the course or copying the activity, is that what you did?

The ideal is to create a new room with a different code than Google Meet, so as not to pull recordings from the other course.

And indeed, as you instructed, the $name parameter must be the value of $googlemeet->originalname.