Migrate content from mod_hvp to mod_h5pactivity
Maintained by
Sara Arjona, Ferran Ferran, Mikel Corrales, Moodle HQ
Moodle plugin allowing to migrate activities created with the mod_hvp plugin created by Joubel to the new mod_h5pactivity created by Moodle HQ since Moodle 3.9.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
I'm using Moodle 3.9.3 (build: 20201109).
Last update libraries H5P 3/nov/2020
Version HVP: 2020080400
I've just added a discussion post regarding my experience with this plugin, detailing some errors when converting H5P objects (most relating to Branching Scenario)
https://moodle.org/mod/forum/discuss.php?d=405472#p1671396
I'm happy to investigate further with plugin maintainers to identify issue and hopefully resolve.
Will this plugin will solve the error "error/unknown_context_mapping" when attempting to restore a Moodle 3.9 course with H5P activity to a Moodle 3.8.3?
Steps to reproduce the error:
Add an h5p activity to a moodle 3.9 course.
Backup the moodle 3.9 course.
Restore into a moodle 3.8.3 course.
The backup will fail with an error/unknown_context_mapping error.
What can be done?
Regards,
Ram
Just to report that even using the new version 2020050100 the migration is not working well in moodle 3.9.1. and h5p 2020020500.
I say not working well because it works in some few cases but in general results in this error message: "Error migration hvp activity with id 4: Can't find data record in database table context".
We found the migration could not be executed on older versions of mod_hvp. Now the minimum HVP version is specified in the version.php file. Please, update your mod_hvp plugin before executing the migration tool.
I've found an error when I try to access to site administration -> Migrate content from mod_hvp to mod_h5pactivity
---
Table 'md_database.mdl_grade_items' doesn't exist
SELECT COUNT(*)
FROM grade_grades gg
JOIN mdl_grade_items gi ON gi.id = gg.itemid AND gi.iteminstance = ?
AND gi.courseid = ? AND gi.itemtype = 'mod' AND gi.itemmodule = 'hvp'
[array (
0 => '3',
1 => '6',
)]
Error code: dmlreadexception
---------