H5P - migrating course backups between Moodles
We are observing issues migrating courses with H5P content from one Moodle site to another. Unless the second Moodle has an equal or greater library ALREADY deployed, the H5P activity fails with the error:
Error code: invalidhvp (see attached error message)
STEPS TO REPLICATE:
- Backup a Moodle course from a Moodle that contains H5P activities
- Restore this on a Moodle that has the same version H5P plugin, but OLDER H5P libraries (ie the /mod/hvp/library_list.php "Update content from library cache" has not been recently triggered).
Using version H5P Moodle plugin (1.12 2018110600) and Moodle 3.5.3 (Build: 20181112)
Is there a setting to auto update H5P libraries, or any other option for ensuring this works? Or can something be developed to enable this error is addressed?