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

Unable to find constructor for several H5P content types

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.11.1
    • Fix Version/s: None
    • Component/s: H5P
    • Labels:
    • Affected Branches:
      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            kenogo Keno Goertz
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: