h5p / moodle-mod_hvp

H5P Plugin for Moodle
GNU General Public License v3.0
133 stars 171 forks source link

the activity contains course presentation 1.25 while version 1.22 is expected. #568

Open TimotheeLiotard opened 2 weeks ago

TimotheeLiotard commented 2 weeks ago

Dear, We are using the H5P plugin on Moodle 4.1 and encountering an issue with some H5P modules during their upload the content is empty. When we edit it, we do not understand why we are getting an error message stating that the activity is not valid; it indicates that the activity contains course presentation 1.25 while version 1.22 is expected. Do you have any idea why? We have activities in version 1.25 that are running fine on the platform.

I know that some modules are made with third-party tools like Lumi or Logiquizbut they work fine on other Moodle platforms, and we cannot identify the issue on our platform

Best Regards, Clipboard - 15 octobre 2024 17_40

otacke commented 2 weeks ago

@TimotheeLiotard This is hard to tell without having access to one of the content files that you're trying to upload. Not too long ago, rogue versions of InteractiveBook have been detected which had been modified by someone and which have not been released by H5P Group. It's possible that this is a similar case and that the content was not created with the official version of Interactive Book. This has nothing to do with Lumi or whatever platform the content was created on.

Please cmp. https://www.olivertacke.de/labs/2024/05/02/a-short-voluntary-h5p-fire-department-story-line/

TimotheeLiotard commented 2 weeks ago

Hello, thank you for your prompt response. The issue you raised seems indeed plausible, as there are version differences between our two Moodle instances, including the version 1.16.6 of the column library on the moodle where the H5P modules show this error message. We will continue our investigations, but thank you very much for this clarification. Furthermore, what we don't understand and would like you to clarify is: how are the plugin libraries updated? If a rogue version was created, is it only an admin who updates the library by uploading it in a course, or can a teacher or manager update the platform's library when they upload an H5P file? I assume it's only the admin, but I want to be . Best regards

otacke commented 2 weeks ago

@TimotheeLiotard Only people with the respective capability can update libraries - by default that is limited to admins. However, if someone with that capability uploads H5P content (from a different platform) and if that content contains a library that is not installed on the platform, that library will get installed, too.

Please cmp. https://snordian.de/2022/12/31/why-cant-i-upload-h5p-content/ for details.