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

Unable to find constructor for several H5P content types

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 3.11.1
    • None
    • H5P
    • MOODLE_311_STABLE

    Description

      On one of our customer systems, opening an H5P Dialog Card activity results in a blank page. The following error is shown in the developer console:

      "Unable to find constructor for: H5P.DialogCards 1.8"

      This also happens for some other content types. They all show up as installed under "Site Administration->H5P->Manage H5P Content Types". We tried clearing all caches but it didn't resolve the problem. For some reason, the javascript files in the server's HTTP responses don't contain constructors for some of the content types, even though they are installed.

      I can't reproduce this on other systems, but I also don't know what else to try than clearing the cache. Deleting and reinstalling the content types isn't an option as that would mean losing all the corresponding contents on the system, if I understand correctly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kenogo Keno Goertz
            Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: