Closed durzo closed 3 years ago
Hi @durzo !
Thanks for reporting this. I've tried to reproduce the issue in my local environment with Postgres and an accordion content type but I haven't been able to get this error... as this is related to the grades, we need more information, such as what's the content in {hvp_xapi_results} table for this content type, in order to figure out what's happening there.
Closing this as we haven't seen it in a while. will re-open if I can reproduce again
We have a site that is on postgres with a clone of the db on mariadb (converted from mariadb to postgres).
The migration tool runs successfully on mariadb, but on postgres every item fails migration. Adding some debugging here is what I know:
I added an mtrace to line 96 of classes/api.php in function migrate_hvp2h5p:
This gives me:
The function throwing the exception is
get_user_grades_for_gradebook
in mod/h5pactivity/classes/local/grader.php on line 152:This is about where my knowledge of Moodle stops.. any help appreciated.