مطالب مطرح شده توسط Joseph Rézeau

عکس Core developers عکس Plugin developers عکس Testers عکس Translators

Great job, Oliver! I knew you would take up the challenge.😉

As an experiment I have fixed both SingleChoiceSet and Summary with your pull requests; I have upgraded both libraries by increasing their patch number. I have uploaded the saved contents to my Moodle local test site and I am pleased to report that now all is looking as expected as can be seen on the attached screenshots for Summary. All is left to do now is to wait patiently for H5P team to merge your PRs and release new versions of those 2 contents...

------------

عکس Core developers عکس Plugin developers عکس Testers عکس Translators

Thanks for your participation in this discussion, Oliver.😊 I have started investigating and will look into your suggestions. and report here.

عکس Core developers عکس Plugin developers عکس Testers عکس Translators

I think I have found an explanation of the buggy behaviour of the H5P Summary activity when used in the H5P Moodle core activity (content bank + blue icon). Actually the same buggy behaviour happens with the H5P SingleChoiceSet activity!

It so happens that those 2 H5P activities use a similar xapi-event-builder.js script in their libraries. None of the other H5P libraries use this script. My guess is that - when reporting xapi events to the gradebook - the Moodle core H5P plugin works as expected for all the libraries which feature xapi events, except for H5P Summary activity and H5P SingleChoiceSet, simply because of their peculiar use of xapi-event-builder.js scripts.

If our friend Oliver sees this discussion he might give his opinion about my guess. And then I might report this bug to the Moodle bug tracker.

عکس Core developers عکس Plugin developers عکس Testers عکس Translators

@Vanessa,

More specifically the problem lies with the H5P Summary activity within the H5P Moodle core activity (the blue icon). If you install and use the H5P activity external plugin (the black icon), the results of the H5P Summary activity are correctly reported in the Moodle gradebook.

I will investigate some more in the coming days and report this to the Moodle bug tracker is necessary. Watch this discussion.😉

عکس Core developers عکس Plugin developers عکس Testers عکس Translators

Hi Benoit,

I don't understand that you don't understand the Lesson behaviour.😟 It's very clear:

You have seen more than one page of this lesson already. Do you want to start from the last page you viewed?" If the user selects "Yes," they are redirected back to a question they have already completed and are required to answer it again

The Lesson only remembers the last page viewed by the student, whether that page contains just text or a question. If that last viewed page contains a question, the Lesson has not kept the student's answer in memory, so it's logical that they are required to answer it "again".