Migrate content from mod_hvp to mod_h5pactivity icon

Migrate content from mod_hvp to mod_h5pactivity

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.
Price option: Free

Supports Moodle 3.9-5.1 See all versions
Latest release: 9 months ago
Installations: 1841
Downloads (last 90 days): 862

Frankenstyle name: tool_migratehvp2h5p
Administration tools

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

I have the same problem as Peter G (16 jul 2020, 15:01) "Error migration hvp activity with id ##" message.
I'm using Moodle 3.9.3 (build: 20201109).
Last update libraries H5P 3/nov/2020
Version HVP: 2020080400
Hi smile
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.
Hi,
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
Hi Osvaldo. I just integrate all que pull reuqests from Eric. All the changes will be available in this page soon. Thanks.
I’m glad to inform that in my case the Eric Merrill commits posted in bug tracker solved the problem!
Hi, Ferran!
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".
A new version of the plugin is realeased correcting some minor bugs and adding more accurate error messages in case of exception.
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.
It's not working for me either, though unfortunately I'm getting only a very minimal "Error migration hvp ctivity with id ##" message. Command line also fails without error message.
Hi,
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
---------
If we convert a module that had results like the H5P questionnaire would it bring over the responses and we can view the results in the new activity?
Approval issue created: CONTRIB-8130