Bug adding images to H5P activities in content bank in Moodle 3.9

Lairdoflard's picture
  1. Detailed steps to reproduce the bug (exactly how and when did it happen)
    I created a new H5P (Agamotto, but the bug exists for other types too) in the Content bank in Moodle 3.9 and tried to add an image. I get an "Invalid Security Token" error and the image isnt uploaded. I can upload the same image to 'old-style' H5p content in the same course, and to e.g. Moodle books, ATTO, etc

  2. Platform and version number. E.g. Drupal, Wordpress, Moodle.
    Moodle 3.9

  3. Mobile or Desktop

  4. Browser: Chrome, Firefox, Safari etc
    Tested in chrome, firefox, edge

  5. H5P plugin version
    Integrated in Moodle 3.9

  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
    All content that can use images, specifically Agamotto for testing

  7. Any browser console errors
    "Invalid Security Token"

  8. Any PHP errors

  9. Screenshots if it's a visual problem
  10. Any recent changes to the environment (new plugins/modules, updates, configuration changes etc.)

  11. Any recent changes to the browser you're using (new extensions, updates etc.)
Content types: 
otacke's picture

Hi Lairdoflard!

The integration of H5P into moodle 3.9 was not created by the H5P core team, but by the moodle team. I fear that your best bet is to ask on their forum.



papi Jo's picture

Hi Andrew "Lairdoflard" & Oliver

I have answered Andrew's question on the Moodle forum. Actually I do not see the problem he reports on my Moodle 3.9 systems.