Beiträge von Joseph Rézeau

Moodle in English -> H5P -> h5p error code -> Re: h5p error code

von Joseph Rézeau -
Nutzerbild von Core developers Nutzerbild von Plugin developers Nutzerbild von Testers Nutzerbild von Translators
Hi Daniel,
I don't think that is the explanation for the bug. What do you mean by "unusually long name"? The activity name "subject-and-predicate-practice-2-2360" is only 38 chars long!
On my local Moodle 4 test site, I have installed the H5P activity posted by Stephan and used it with the hvp plugin (black icon). The activity completion works OK, except that (if DEGUG is ON) I get a warning:

_get_completion_state() callback functions such as hvp_get_completion_state have been deprecated and should no longer be used. Please implement the custom completion class mod_hvp\completion\custom_completion which extends \core_completion\activity_custom_completion.
  • line 729 of \lib\completionlib.php: call to debugging()
  • line 666 of \lib\completionlib.php: call to completion_info->internal_get_state()
  • line 1004 of \lib\completionlib.php: call to completion_info->update_state()
  • line 690 of \course\modlib.php: call to completion_info->reset_all_state()
  • line 168 of \course\modedit.php: call to update_moduleinfo()
But I get that warning for ALL H5P activities anyway. The H5P core team should fix this bug.
Nutzerbild von Core developers Nutzerbild von Plugin developers Nutzerbild von Testers Nutzerbild von Translators

Noam "... However when the student navigates further and then comes back to the site with the essay question type, the text of the input of the student is lost."

This is quite normal. Upon leaving the Essay question in the lesson (without saving it), the browser usually issues a warning like this one:

This has nothing to do with the Lesson activity itself, and there is no way to change this behaviour.

Nutzerbild von Développeurs Nutzerbild von Développeurs de plugins Nutzerbild von Testeurs Nutzerbild von Traducteurs

Bonjour Jérémie,

Je veux bien t'aider, mais il faudrait me fournir plus d'information !

version de Moodle ; version de Questionnaire

Liste complète des options de ton questionnaire.

L'option "Rendre visible pour les étudiants" n'existe pas ; je suppose que tu veux parler de l'option "Options des réponses -> Les étudiants peuvent voir TOUTES les réponses"

En tout cas j'ai tenté de reproduire ton problème et je ne vois pas ce que tu décris.