get_all_user_name field causing errors in grading report
Good morning,
I hope this finds you well.
We've come across an issue which I believe has been around for a while in the latest plugin version which prevents result data showing in Moodle for the additional plugin (not the core) as seen below:
The "Loading data" message will never end as it has failed silently in the background. The issue can be seen in the inspect element on the response to getting data:
There is a pull request that fixes this error in the Github since March 2025: #539 The deprecated function get_all_user_name fields should be replaced if possible by minhduchoang195 · Pull Request #584 · h5p/moodle-mod_hvp
I've tested this on a UAT instance and the patched code in the commit seems to work: #539 The deprecated function get_all_user_name fields should be replaced if possible by minhduchoang195 · Pull Request #584 · h5p/moodle-mod_hvp
Could this be applied to the plugins code, please? At the current stage, we are patching the user's code manually to ensure it retains this functionality.
If you need any further information, please do let me know.
Kind Regards
C