Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-81435

Display H5P filter is not rendering a valid wordpress URL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 4.4
    • H5P
    • None
    • MOODLE_404_STABLE

      Discovered by rezeau while testing MDLQA-18818.

      The problem happens when 'Display H5P' filter is enabled and a page resource has a valid h5p wordpress url such as https://generic.wordpress.soton.ac.uk/altc/wp-admin/admin-ajax.php?action=h5p_embed&id=1, when viewing the content the wordpress url shows the following error "Firefox can't open this page":

       

      This can also be reproduced in Chrome, although in that case, the error is uglier:

       

      For QA 4.3 they were passing (there is a screenshot in MDLQA-18327), and in https://sandbox.moodledemo.net/mod/page/view.php?id=7&forceview=1 (which is using Moodle 4.3), the error can be reproduced too.

        1. chromewordpresserror.png
          5 kB
          Sara Arjona (@sarjona)
        2. image-2024-04-04-18-48-50-939.png
          359 kB
          Simey Lameze

            Unassigned Unassigned
            lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 24 minutes
                24m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.