Impossible to delete ranges with drag the word

Impossible to delete ranges with drag the word

by Clément Bathellier -
Number of replies: 1

Hello,

On a Moodle (4.2.1) and using H5P core activity (blue icon).

When creating a Drag the word activity there is by default 8 score ranges for feedback. I don't need feedback and I'm enable to delete any of this range. There is a message in order to add a number and a value, but even after having done that I can't delete any range by clicking on the "delete" button (the ranges remain). I still can save the activity, but then there is no button to "submit" (cf. screenshot).

I've asked the question on H5P forum and some nice members sent me drag the file activity file so that I could try on this Moodle website. With these files it works allright. The problem is only when I create the activity from this Moodle website.

Any idea of what the problem is please ?

Thanks

Attachment Drag the word.png
Attachment submit missing.png
Average of ratings: -
In reply to Clément Bathellier

Re: Impossible to delete ranges with drag the word

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi / Bonjour Clément,

There is obviously something wrong with your Drag the Words library on your Moodle site.

  1. When you create a new Drag the Words activity on your Moodle site Content Bank,
    1. is your current language set as English or French? I'm asking because there is a strange mix of English and French messages displayed on your screenshot.
    2. only one feedback Score range should appear.
  2. Did you download to your Moodle site any Drag the Words files from another Moodle site ? from Lumi or some other platform?
  3. On the H5P forum at https://h5p.org/comment/52773 you posted one H5P Drag the Words content, which I found out  was corrupted and I could post a fixed version there. Now it seems that not only that file was corrupted but also maybe your H5P Drag the Words library on your Moodle site is corrupted.
  4. If you create another content which contains Feedback fields, are they working OK or not? for example: Multiple Choice
  5. The error message image.pngis taken from the French language file to be found here on your site: "MOODLESITE/moodledata\lang\fr\h5plib_v124.php". This shows that you are using h5plib_v124 on your Moodle site, a version which is outdated and has problems as reported in this length discussion at: https://moodle.org/mod/forum/discuss.php?d=462407. Maybe updating your Moodle site to a more recent version would solve the problem. Currently on my Moodle 4.5 site the version is h5plib_v127.
Average of ratings: Useful (1)